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