18 instantiations of DiagnosticResult
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (18)
ComponentParameterCaptureUnmatchedValuesHasWrongTypeTest.cs (1)
62
new
DiagnosticResult
ComponentParameterCaptureUnmatchedValuesMustBeUniqueTest.cs (1)
50
new
DiagnosticResult
ComponentParameterSettersShouldBePublicTest.cs (3)
76
new
DiagnosticResult
86
new
DiagnosticResult
96
new
DiagnosticResult
ComponentParametersShouldBePublicCodeFixProviderTest.cs (4)
43
new
DiagnosticResult
83
new
DiagnosticResult
93
new
DiagnosticResult
103
new
DiagnosticResult
ComponentParametersShouldBePublicTest.cs (4)
61
new
DiagnosticResult
71
new
DiagnosticResult
81
new
DiagnosticResult
91
new
DiagnosticResult
ComponentParameterUsageAnalyzerTest.cs (5)
48
new
DiagnosticResult
79
new
DiagnosticResult
110
new
DiagnosticResult
141
new
DiagnosticResult
172
new
DiagnosticResult
7 references to DiagnosticResult
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (7)
Verifiers\DiagnosticVerifier.cs (7)
44
protected void VerifyCSharpDiagnostic(string source, params
DiagnosticResult
[] expected)
55
protected void VerifyBasicDiagnostic(string source, params
DiagnosticResult
[] expected)
66
protected void VerifyCSharpDiagnostic(string[] sources, params
DiagnosticResult
[] expected)
77
protected void VerifyBasicDiagnostic(string[] sources, params
DiagnosticResult
[] expected)
90
private void VerifyDiagnostics(string[] sources, string language, DiagnosticAnalyzer analyzer, params
DiagnosticResult
[] expected)
106
private static void VerifyDiagnosticResults(IEnumerable<Diagnostic> actualResults, DiagnosticAnalyzer analyzer, params
DiagnosticResult
[] expectedResults)
122
var
expected = expectedResults[i];