30 references to SeverityFilter
Microsoft.CodeAnalysis (30)
CommandLine\CommonCompiler.cs (3)
1522
var
severityFilter =
SeverityFilter
.Hidden;
1524
severityFilter |=
SeverityFilter
.Info;
Compilation\Compilation.cs (1)
125
internal abstract AnalyzerDriver CreateAnalyzerDriver(ImmutableArray<DiagnosticAnalyzer> analyzers, AnalyzerManager analyzerManager,
SeverityFilter
severityFilter);
Diagnostic\SeverityFilter.cs (4)
23
internal static bool Contains(this
SeverityFilter
severityFilter, ReportDiagnostic severity)
27
ReportDiagnostic.Hidden => (severityFilter &
SeverityFilter
.Hidden) != 0,
28
ReportDiagnostic.Info => (severityFilter &
SeverityFilter
.Info) != 0,
33
internal static DiagnosticSeverity GetMinimumUnfilteredSeverity(this
SeverityFilter
severityFilter)
DiagnosticAnalyzer\AnalyzerDriver.cs (13)
62
private readonly
SeverityFilter
_severityFilter;
371
protected AnalyzerDriver(ImmutableArray<DiagnosticAnalyzer> analyzers, AnalyzerManager analyzerManager,
SeverityFilter
severityFilter, Func<SyntaxTrivia, bool> isComment)
819
SeverityFilter
severityFilter,
840
SeverityFilter
severityFilter,
1957
internal static Action<Diagnostic, CancellationToken> GetDiagnosticSink(Action<Diagnostic> addDiagnosticCore, Compilation compilation, AnalyzerOptions? analyzerOptions,
SeverityFilter
severityFilter, ConcurrentSet<string>? suppressedDiagnosticIds)
1969
internal static Action<Diagnostic, DiagnosticAnalyzer, bool, CancellationToken> GetDiagnosticSink(Action<Diagnostic, DiagnosticAnalyzer, bool> addLocalDiagnosticCore, Compilation compilation, AnalyzerOptions? analyzerOptions,
SeverityFilter
severityFilter, ConcurrentSet<string>? suppressedDiagnosticIds)
1981
internal static Action<Diagnostic, DiagnosticAnalyzer, CancellationToken> GetDiagnosticSink(Action<Diagnostic, DiagnosticAnalyzer> addDiagnosticCore, Compilation compilation, AnalyzerOptions? analyzerOptions,
SeverityFilter
severityFilter, ConcurrentSet<string>? suppressedDiagnosticIds)
1993
private static Diagnostic? GetFilteredDiagnostic(Diagnostic diagnostic, Compilation compilation, AnalyzerOptions? analyzerOptions,
SeverityFilter
severityFilter, ConcurrentSet<string>? suppressedDiagnosticIds, CancellationToken cancellationToken)
2028
SeverityFilter
severityFilter,
2229
SeverityFilter
severityFilter,
2254
SeverityFilter
severityFilter,
2383
SeverityFilter
severityFilter,
2416
internal AnalyzerDriver(ImmutableArray<DiagnosticAnalyzer> analyzers, Func<SyntaxNode, TLanguageKindEnum> getKind, AnalyzerManager analyzerManager,
SeverityFilter
severityFilter, Func<SyntaxTrivia, bool> isComment)
DiagnosticAnalyzer\AnalyzerExecutor.cs (4)
112
SeverityFilter
severityFilter,
144
SeverityFilter
severityFilter,
176
internal
SeverityFilter
SeverityFilter { get; }
200
public void ExecuteInitializeMethod(HostSessionStartAnalysisScope sessionScope,
SeverityFilter
severityFilter, CancellationToken cancellationToken)
DiagnosticAnalyzer\AnalyzerManager.cs (2)
304
SeverityFilter
severityFilter,
344
SeverityFilter
severityFilter,
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
380
var driver = compilation.CreateAnalyzerDriver(analyzers, new AnalyzerManager(analyzers), severityFilter:
SeverityFilter
.None);
1259
return AnalyzerManager.IsDiagnosticAnalyzerSuppressed(analyzer, options, IsCompilerAnalyzer, severityFilter:
SeverityFilter
.None,
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
24
public AnalyzerAnalysisContext(HostSessionStartAnalysisScope scope,
SeverityFilter
severityFilter)