7 references to Contains
Microsoft.CodeAnalysis (7)
Diagnostic\SeverityFilter.cs (2)
35
if (!severityFilter.
Contains
(ReportDiagnostic.Hidden))
39
else if (!severityFilter.
Contains
(ReportDiagnostic.Info))
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
373
Debug.Assert(!severityFilter.
Contains
(ReportDiagnostic.Suppress));
374
Debug.Assert(!severityFilter.
Contains
(ReportDiagnostic.Default));
2014
severityFilter.
Contains
(DiagnosticDescriptor.MapSeverityToReport(diagnostic.Severity)))
DiagnosticAnalyzer\AnalyzerManager.cs (2)
325
if (configuredValue != ReportDiagnostic.Suppress && !severityFilter.
Contains
(configuredValue))
400
if (severityFilter.
Contains
(severity))