5 references to MapSeverityToReport
Microsoft.CodeAnalysis (5)
CommandLine\SarifV2ErrorLogger.cs (1)
333
var defaultSeverity = descriptor.IsEnabledByDefault ? DiagnosticDescriptor.
MapSeverityToReport
(descriptor.DefaultSeverity) : ReportDiagnostic.Suppress;
Diagnostic\DiagnosticDescriptor.cs (1)
245
return effectiveDiagnostic != null ?
MapSeverityToReport
(effectiveDiagnostic.Severity) : ReportDiagnostic.Suppress;
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
947
DiagnosticDescriptor.
MapSeverityToReport
(descriptor.DefaultSeverity) :
2014
severityFilter.Contains(DiagnosticDescriptor.
MapSeverityToReport
(diagnostic.Severity)))
DiagnosticAnalyzer\AnalyzerManager.cs (1)
396
severity = isSuppressed ? ReportDiagnostic.Suppress : DiagnosticDescriptor.
MapSeverityToReport
(diag.DefaultSeverity);