3 references to WithDefaultSeverity
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
277warningLevel: effectiveSeverity.WithDefaultSeverity(descriptor.DefaultSeverity) == ReportDiagnostic.Error ? 0 : 1,
src\Analyzers\Core\Analyzers\OrderModifiers\AbstractOrderModifiersDiagnosticAnalyzer.cs (1)
75if (notificationOption.Severity.WithDefaultSeverity(DiagnosticSeverity.Hidden) == ReportDiagnostic.Hidden)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ReportDiagnosticExtensions.cs (1)
87var notificationOption = reportDiagnostic.WithDefaultSeverity(defaultSeverity) switch