We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9167998 commit 0dd46b3Copy full SHA for 0dd46b3
1 file changed
StyleCop.Analyzers/StyleCopTester/Program.cs
@@ -395,9 +395,7 @@ private static async Task<ImmutableArray<Diagnostic>> GetProjectAnalyzerDiagnost
395
CompilationWithAnalyzers compilationWithAnalyzers = compilation.WithAnalyzers(analyzers, cancellationToken: cancellationToken);
396
397
var allDiagnostics = await compilationWithAnalyzers.GetAllDiagnosticsAsync().ConfigureAwait(false);
398
-
399
- // We want analyzer diagnostics and analyzer exceptions
400
- return allDiagnostics.RemoveRange(compilation.GetDiagnostics());
+ return allDiagnostics;
401
}
402
403
private static void PrintHelp()
0 commit comments