6 references to FilterDiagnostic
Microsoft.CodeAnalysis (6)
Compilation\Compilation.cs (1)
1893var filtered = Options.FilterDiagnostic(d, cancellationToken);
Diagnostic\DiagnosticDescriptor.cs (1)
244var effectiveDiagnostic = compilationOptions.FilterDiagnostic(Diagnostic.Create(this, Location.None), CancellationToken.None);
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1995var filteredDiagnostic = compilation.Options.FilterDiagnostic(diagnostic, cancellationToken);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1199var effectiveDiagnostic = compilation.Options.FilterDiagnostic(diagnostic, CancellationToken.None);
SourceGeneration\GeneratorDriver.cs (2)
389var filtered = compilation.Options.FilterDiagnostic(diagnostic, cancellationToken); 430if (compilation.Options.FilterDiagnostic(diag, cancellationToken) is { } filtered &&