30 references to VerifyCodeFixAsync
Microsoft.AspNetCore.App.Analyzers.Test (30)
Authorization\AddAuthorizationBuilderTests.cs (2)
733
await VerifyCS.
VerifyCodeFixAsync
(fullSource, diagnostics, fullFixedSource);
740
await VerifyCS.
VerifyCodeFixAsync
(fullSource, Array.Empty<DiagnosticResult>(), fullSource);
Http\HeaderDictionaryAddTest.cs (3)
90
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, codeActionEquivalenceKey: AppendCodeActionEquivalenceKey);
160
await VerifyCS.
VerifyCodeFixAsync
(
266
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, codeActionEquivalenceKey: IndexerCodeActionEquivalenceKey);
Http\HeaderDictionaryIndexerFixerTests.cs (2)
18
await VerifyCS.
VerifyCodeFixAsync
(@"
54
await VerifyCS.
VerifyCodeFixAsync
(@"
RouteEmbeddedLanguage\RouteParameterUnusedParameterFixerTest.cs (14)
232
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 2);
290
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 2);
348
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
389
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
434
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
475
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
516
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
557
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
598
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
639
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
680
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
723
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
769
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 4);
836
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, expectedIterations: 1);
RouteHandlers\DetectMismatchedParameterOptionalityTest.cs (4)
57
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource);
108
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource);
163
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource);
204
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource, usageSource: usageSource);
Verifiers\CSharpCodeFixVerifier.cs (2)
47
=> await
VerifyCodeFixAsync
(source, DiagnosticResult.EmptyDiagnosticResults, fixedSource);
51
=> await
VerifyCodeFixAsync
(source, new[] { expected }, fixedSource);
WebApplicationBuilder\DisallowConfigureAppConfigureHostBuilderTest.cs (1)
163
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
WebApplicationBuilder\DisallowConfigureHostLoggingTest.cs (1)
307
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
WebApplicationBuilder\DisallowConfigureServicesTest.cs (1)
316
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);