3 references to ToDiagnosticSeverity
Microsoft.CodeAnalysis.Workspaces (3)
CodeStyle\NotificationOption.cs (1)
40
get => Severity.
ToDiagnosticSeverity
() ?? DiagnosticSeverity.Hidden;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (2)
39
new XAttribute(nameof(EnforcementLevel), EnforcementLevel.
ToDiagnosticSeverity
() ?? DiagnosticSeverity.Hidden));
58
writer.WriteInt32((int)(EnforcementLevel.
ToDiagnosticSeverity
() ?? DiagnosticSeverity.Hidden));