18 writes to Severity
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (18)
ComponentParameterCaptureUnmatchedValuesHasWrongTypeTest.cs (1)
66Severity = DiagnosticSeverity.Warning,
ComponentParameterCaptureUnmatchedValuesMustBeUniqueTest.cs (1)
54Severity = DiagnosticSeverity.Warning,
ComponentParameterSettersShouldBePublicTest.cs (3)
80Severity = DiagnosticSeverity.Error, 90Severity = DiagnosticSeverity.Error, 100Severity = DiagnosticSeverity.Error,
ComponentParametersShouldBePublicCodeFixProviderTest.cs (4)
47Severity = DiagnosticSeverity.Error, 87Severity = DiagnosticSeverity.Error, 97Severity = DiagnosticSeverity.Error, 107Severity = DiagnosticSeverity.Error,
ComponentParametersShouldBePublicTest.cs (4)
65Severity = DiagnosticSeverity.Error, 75Severity = DiagnosticSeverity.Error, 85Severity = DiagnosticSeverity.Error, 95Severity = DiagnosticSeverity.Error,
ComponentParameterUsageAnalyzerTest.cs (5)
52Severity = DiagnosticSeverity.Warning, 83Severity = DiagnosticSeverity.Warning, 114Severity = DiagnosticSeverity.Warning, 145Severity = DiagnosticSeverity.Warning, 176Severity = DiagnosticSeverity.Warning,
2 references to Severity
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (2)
Verifiers\DiagnosticVerifier.cs (2)
163if (actual.Severity != expected.Severity) 169expected.Severity, actual.Severity, FormatDiagnostics(analyzer, actual)));