3 references to ToReportDiagnostic
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ReportDiagnosticExtensions.cs (1)
68
return defaultSeverity.
ToReportDiagnostic
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (2)
48
EnforcementLevel = ((DiagnosticSeverity)Enum.Parse(typeof(DiagnosticSeverity), namingRuleElement.Attribute(nameof(EnforcementLevel)).Value)).
ToReportDiagnostic
(),
67
EnforcementLevel = ((DiagnosticSeverity)reader.ReadInt32()).
ToReportDiagnostic
(),