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