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