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