29 references to EditorConfigSeverityStrings
Microsoft.CodeAnalysis.Workspaces (29)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (6)
99
case
EditorConfigSeverityStrings
.None:
103
case
EditorConfigSeverityStrings
.Refactoring:
104
case
EditorConfigSeverityStrings
.Silent:
108
case
EditorConfigSeverityStrings
.Suggestion: notification = NotificationOption2.Suggestion; return true;
109
case
EditorConfigSeverityStrings
.Warning: notification = NotificationOption2.Warning; return true;
110
case
EditorConfigSeverityStrings
.Error: notification = NotificationOption2.Error; return true;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticDescriptorExtensions.cs (8)
102
EditorConfigSeverityStrings
.TryParse(value, out var severity))
122
EditorConfigSeverityStrings
.TryParse(value, out severity))
130
EditorConfigSeverityStrings
.TryParse(value, out severity))
168
EditorConfigSeverityStrings
.TryParse(value, out severity))
189
EditorConfigSeverityStrings
.TryParse(value, out severity))
197
EditorConfigSeverityStrings
.TryParse(value, out severity))
234
EditorConfigSeverityStrings
.TryParse(value, out severity))
242
EditorConfigSeverityStrings
.TryParse(value, out severity))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticSeverityExtensions_Shared.cs (4)
36
DiagnosticSeverity.Hidden =>
EditorConfigSeverityStrings
.Silent,
37
DiagnosticSeverity.Info =>
EditorConfigSeverityStrings
.Suggestion,
38
DiagnosticSeverity.Warning =>
EditorConfigSeverityStrings
.Warning,
39
DiagnosticSeverity.Error =>
EditorConfigSeverityStrings
.Error,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ReportDiagnosticExtensions.cs (5)
75
ReportDiagnostic.Suppress =>
EditorConfigSeverityStrings
.None,
76
ReportDiagnostic.Hidden =>
EditorConfigSeverityStrings
.Silent,
77
ReportDiagnostic.Info =>
EditorConfigSeverityStrings
.Suggestion,
78
ReportDiagnostic.Warn =>
EditorConfigSeverityStrings
.Warning,
79
ReportDiagnostic.Error =>
EditorConfigSeverityStrings
.Error,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_NamingRule.cs (6)
81
case
EditorConfigSeverityStrings
.None:
84
case
EditorConfigSeverityStrings
.Refactoring:
85
case
EditorConfigSeverityStrings
.Silent:
88
case
EditorConfigSeverityStrings
.Suggestion: return ReportDiagnostic.Info;
89
case
EditorConfigSeverityStrings
.Warning: return ReportDiagnostic.Warn;
90
case
EditorConfigSeverityStrings
.Error: return ReportDiagnostic.Error;