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