7 overrides of GetCSharpDiagnosticAnalyzer
Microsoft.AspNetCore.Components.Analyzers.Tests (7)
ComponentParameterCaptureUnmatchedValuesHasWrongTypeTest.cs (1)
74protected override DiagnosticAnalyzer GetCSharpDiagnosticAnalyzer()
ComponentParameterCaptureUnmatchedValuesMustBeUniqueTest.cs (1)
62protected override DiagnosticAnalyzer GetCSharpDiagnosticAnalyzer()
ComponentParameterSettersShouldBePublicTest.cs (1)
108protected override DiagnosticAnalyzer GetCSharpDiagnosticAnalyzer() => new ComponentParameterAnalyzer();
ComponentParameterShouldBeAutoPropertiesTest.cs (1)
151protected override DiagnosticAnalyzer GetCSharpDiagnosticAnalyzer() => new ComponentParameterAnalyzer();
ComponentParametersShouldBePublicCodeFixProviderTest.cs (1)
120protected override DiagnosticAnalyzer GetCSharpDiagnosticAnalyzer()
ComponentParametersShouldBePublicTest.cs (1)
103protected override DiagnosticAnalyzer GetCSharpDiagnosticAnalyzer() => new ComponentParameterAnalyzer();
ComponentParameterUsageAnalyzerTest.cs (1)
358protected override DiagnosticAnalyzer GetCSharpDiagnosticAnalyzer() => new ComponentParameterUsageAnalyzer();
3 references to GetCSharpDiagnosticAnalyzer
Microsoft.AspNetCore.Components.Analyzers.Tests (3)
Verifiers\CodeFixVerifier.cs (1)
48VerifyFix(LanguageNames.CSharp, GetCSharpDiagnosticAnalyzer(), GetCSharpCodeFixProvider(), oldSource, newSource, codeFixIndex, allowNewCompilerDiagnostics);
Verifiers\DiagnosticVerifier.cs (2)
46VerifyDiagnostics(new[] { source }, LanguageNames.CSharp, GetCSharpDiagnosticAnalyzer(), expected); 68VerifyDiagnostics(sources, LanguageNames.CSharp, GetCSharpDiagnosticAnalyzer(), expected);