Skip to content

Commit

Permalink
Analyzer.
Browse files Browse the repository at this point in the history
  • Loading branch information
gfraiteur committed Sep 25, 2024
1 parent 04ee71b commit a842771
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CodeQualityTalk.Analyzers/FactoryNameAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public class FactoryNameAnalyzer : DiagnosticAnalyzer
"Naming",
DiagnosticSeverity.Warning,
true );

public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
= [_diagnosticDescriptor];

public override void Initialize( AnalysisContext context )
{
Expand Down Expand Up @@ -48,7 +51,5 @@ private static void AnalyzeSymbol( SymbolAnalysisContext context )
}
}

public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
= [_diagnosticDescriptor];
}

Check warning on line 54 in CodeQualityTalk.Analyzers/FactoryNameAnalyzer.cs

View workflow job for this annotation

GitHub Actions / qodana

Incorrect blank lines (incorrect number of blank lines near braces)

Incorrect number of blank lines near braces, expected maximum 0 instead of 1
}

0 comments on commit a842771

Please sign in to comment.