dolittle/DotNET.SDK

View on GitHub
Source/Analyzers/EventsHaveAnnotationAnalyzer.cs

Summary

Maintainability
A
1 hr
Test Coverage

Avoid too many return statements within this method.
Open

        if (typeInfo.Type is null) return;
Severity: Major
Found in Source/Analyzers/EventsHaveAnnotationAnalyzer.cs - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            if (typeInfo.Type.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat).Equals("object")) return;
    Severity: Major
    Found in Source/Analyzers/EventsHaveAnnotationAnalyzer.cs - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              if (typeInfo.Type.HasEventTypeAttribute()) return; // All good
      Severity: Major
      Found in Source/Analyzers/EventsHaveAnnotationAnalyzer.cs - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status