141 references to CSharpAnalyzerVerifier
Microsoft.AspNetCore.App.Analyzers.Test (141)
Http\HeaderDictionaryIndexerAnalyzerTests.cs (9)
9using VerifyCS = Microsoft.AspNetCore.Analyzers.Verifiers.CSharpAnalyzerVerifier< 20await VerifyCS.VerifyAnalyzerAsync(@" 41await VerifyCS.VerifyAnalyzerAsync(@" 62await VerifyCS.VerifyAnalyzerAsync(@" 80await VerifyCS.VerifyAnalyzerAsync(@" 98await VerifyCS.VerifyAnalyzerAsync(@" 116await VerifyCS.VerifyAnalyzerAsync(@" 135await VerifyCS.VerifyAnalyzerAsync(@" 146await VerifyCS.VerifyAnalyzerAsync(@"
Http\RequestDelegateReturnTypeAnalyzerTests.cs (18)
8using VerifyCS = Microsoft.AspNetCore.Analyzers.Verifiers.CSharpAnalyzerVerifier< 17await VerifyCS.VerifyAnalyzerAsync(@" 35await VerifyCS.VerifyAnalyzerAsync(@" 53await VerifyCS.VerifyAnalyzerAsync(@" 74await VerifyCS.VerifyAnalyzerAsync(@" 93await VerifyCS.VerifyAnalyzerAsync(@" 116await VerifyCS.VerifyAnalyzerAsync(@" 132await VerifyCS.VerifyAnalyzerAsync(@" 152await VerifyCS.VerifyAnalyzerAsync(@" 173await VerifyCS.VerifyAnalyzerAsync(@" 194await VerifyCS.VerifyAnalyzerAsync(@" 222await VerifyCS.VerifyAnalyzerAsync(@" 250await VerifyCS.VerifyAnalyzerAsync(@" 263await VerifyCS.VerifyAnalyzerAsync(@" 288await VerifyCS.VerifyAnalyzerAsync(@" 301await VerifyCS.VerifyAnalyzerAsync(@" 324await VerifyCS.VerifyAnalyzerAsync(@" 342await VerifyCS.VerifyAnalyzerAsync(@"
Mvc\DetectAmbiguousActionRoutesTest.cs (32)
5using VerifyCS = Microsoft.AspNetCore.Analyzers.Verifiers.CSharpAnalyzerVerifier<Microsoft.AspNetCore.Analyzers.Mvc.MvcAnalyzer>; 40await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 67await VerifyCS.VerifyAnalyzerAsync(source); 99await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 132await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 160await VerifyCS.VerifyAnalyzerAsync(source); 188await VerifyCS.VerifyAnalyzerAsync(source); 219await VerifyCS.VerifyAnalyzerAsync(source); 256await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 285await VerifyCS.VerifyAnalyzerAsync(source); 318await VerifyCS.VerifyAnalyzerAsync(source); 345await VerifyCS.VerifyAnalyzerAsync(source); 377await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 410await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 438await VerifyCS.VerifyAnalyzerAsync(source); 466await VerifyCS.VerifyAnalyzerAsync(source); 497await VerifyCS.VerifyAnalyzerAsync(source); 534await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 563await VerifyCS.VerifyAnalyzerAsync(source); 596await VerifyCS.VerifyAnalyzerAsync(source); 640await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 669await VerifyCS.VerifyAnalyzerAsync(source); 701await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 735await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 767await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 794await VerifyCS.VerifyAnalyzerAsync(source); 821await VerifyCS.VerifyAnalyzerAsync(source); 848await VerifyCS.VerifyAnalyzerAsync(source); 878await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 909await VerifyCS.VerifyAnalyzerAsync(source); 943await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 976await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics);
Mvc\DetectOverriddenAuthorizeAttributeTest.cs (24)
5using VerifyCS = Microsoft.AspNetCore.Analyzers.Verifiers.CSharpAnalyzerVerifier<Microsoft.AspNetCore.Analyzers.Mvc.MvcAnalyzer>; 34await VerifyCS.VerifyAnalyzerAsync(source, 52await VerifyCS.VerifyAnalyzerAsync(source); 72await VerifyCS.VerifyAnalyzerAsync(source, 97await VerifyCS.VerifyAnalyzerAsync(source, 121await VerifyCS.VerifyAnalyzerAsync(source, 144await VerifyCS.VerifyAnalyzerAsync(source, 181await VerifyCS.VerifyAnalyzerAsync(source, 211await VerifyCS.VerifyAnalyzerAsync(source, 238await VerifyCS.VerifyAnalyzerAsync(source); 261await VerifyCS.VerifyAnalyzerAsync(source); 278await VerifyCS.VerifyAnalyzerAsync(source); 294await VerifyCS.VerifyAnalyzerAsync(source, 312await VerifyCS.VerifyAnalyzerAsync(source); 328await VerifyCS.VerifyAnalyzerAsync(source, 351await VerifyCS.VerifyAnalyzerAsync(source, 377await VerifyCS.VerifyAnalyzerAsync(source); 400await VerifyCS.VerifyAnalyzerAsync(source); 426await VerifyCS.VerifyAnalyzerAsync(source, 450await VerifyCS.VerifyAnalyzerAsync(source, 478await VerifyCS.VerifyAnalyzerAsync(source, 509await VerifyCS.VerifyAnalyzerAsync(source, 542await VerifyCS.VerifyAnalyzerAsync(source, 595await VerifyCS.VerifyAnalyzerAsync(source,
RouteHandlers\AtMostOneFromBodyAttributeTest.cs (7)
6using VerifyCS = Microsoft.AspNetCore.Analyzers.Verifiers.CSharpAnalyzerVerifier<Microsoft.AspNetCore.Analyzers.RouteHandlers.RouteHandlerAnalyzer>; 29await VerifyCS.VerifyAnalyzerAsync(source); 48await VerifyCS.VerifyAnalyzerAsync(source); 70await VerifyCS.VerifyAnalyzerAsync( 103await VerifyCS.VerifyAnalyzerAsync( 139await VerifyCS.VerifyAnalyzerAsync( 171await VerifyCS.VerifyAnalyzerAsync(source);
RouteHandlers\DetectAmbiguousMappedRoutesTest.cs (26)
5using VerifyCS = Microsoft.AspNetCore.Analyzers.Verifiers.CSharpAnalyzerVerifier<Microsoft.AspNetCore.Analyzers.RouteHandlers.RouteHandlerAnalyzer>; 30await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 54await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 83await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 100await VerifyCS.VerifyAnalyzerAsync(source); 124await VerifyCS.VerifyAnalyzerAsync(source); 153await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 174await VerifyCS.VerifyAnalyzerAsync(source); 189await VerifyCS.VerifyAnalyzerAsync(source); 205await VerifyCS.VerifyAnalyzerAsync(source); 221await VerifyCS.VerifyAnalyzerAsync(source); 243await VerifyCS.VerifyAnalyzerAsync(source); 268await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 292await VerifyCS.VerifyAnalyzerAsync(source); 316await VerifyCS.VerifyAnalyzerAsync(source); 332await VerifyCS.VerifyAnalyzerAsync(source); 348await VerifyCS.VerifyAnalyzerAsync(source); 366await VerifyCS.VerifyAnalyzerAsync(source); 381await VerifyCS.VerifyAnalyzerAsync(source); 397await VerifyCS.VerifyAnalyzerAsync(source); 418await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 447await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 470await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 495await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 529await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostics); 551await VerifyCS.VerifyAnalyzerAsync(source);
RouteHandlers\DisallowNonParsableComplexTypesOnParametersTest.cs (21)
6using VerifyCS = Microsoft.AspNetCore.Analyzers.Verifiers.CSharpAnalyzerVerifier<Microsoft.AspNetCore.Analyzers.RouteHandlers.RouteHandlerAnalyzer>; 25await VerifyCS.VerifyAnalyzerAsync(source); 203await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostic); 226await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostic); 251await VerifyCS.VerifyAnalyzerAsync(source); 288await VerifyCS.VerifyAnalyzerAsync(source); 316await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostic); 353await VerifyCS.VerifyAnalyzerAsync(source); 396await VerifyCS.VerifyAnalyzerAsync(source); 421await VerifyCS.VerifyAnalyzerAsync(source); 452await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostic); 483await VerifyCS.VerifyAnalyzerAsync(source, expectedDiagnostic); 499await VerifyCS.VerifyAnalyzerAsync(source); 522await VerifyCS.VerifyAnalyzerAsync(source); 551await VerifyCS.VerifyAnalyzerAsync(source); 581await VerifyCS.VerifyAnalyzerAsync(source); 613await VerifyCS.VerifyAnalyzerAsync(source); 638await VerifyCS.VerifyAnalyzerAsync(source); 660await VerifyCS.VerifyAnalyzerAsync(source); 700await VerifyCS.VerifyAnalyzerAsync(source); 740await VerifyCS.VerifyAnalyzerAsync(source);
Verifiers\CSharpCodeFixVerifier.cs (2)
38ReferenceAssemblies = CSharpAnalyzerVerifier<TAnalyzer>.GetReferenceAssemblies(), 63ReferenceAssemblies = CSharpAnalyzerVerifier<TAnalyzer>.GetReferenceAssemblies(),
Verifiers\CSharpSourceGeneratorVerifier.cs (2)
28ReferenceAssemblies = CSharpAnalyzerVerifier<WebApplicationBuilderAnalyzer>.GetReferenceAssemblies() 42ReferenceAssemblies = CSharpAnalyzerVerifier<WebApplicationBuilderAnalyzer>.GetReferenceAssemblies()