34 references to VerifyCodeFixAsync
Microsoft.AspNetCore.App.Analyzers.Test (34)
Http\HeaderDictionaryIndexerFixerTests.cs (3)
90
await VerifyCS.
VerifyCodeFixAsync
(@"
113
await VerifyCS.
VerifyCodeFixAsync
(@"
140
await VerifyCS.
VerifyCodeFixAsync
(@"
Kestrel\ListenOnIPv6AnyAnalyzerAndFixerTests.cs (2)
42
await VerifyCS.
VerifyCodeFixAsync
(source, codeSampleDiagnosticResult, fixedSource);
50
await VerifyCS.
VerifyCodeFixAsync
(source, codeSampleDiagnosticResult, fixedSource);
RouteEmbeddedLanguage\RouteParameterUnusedParameterFixerTest.cs (3)
64
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource);
120
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource);
174
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource);
RouteHandlers\DetectMismatchedParameterOptionalityTest.cs (5)
32
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostics, fixedSource);
80
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
291
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
315
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
340
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
WebApplicationBuilder\DisallowConfigureAppConfigureHostBuilderTest.cs (7)
50
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
73
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
98
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
133
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
188
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
208
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
232
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
WebApplicationBuilder\DisallowConfigureHostLoggingTest.cs (8)
81
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
110
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
137
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
167
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
208
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
251
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
329
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
355
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
WebApplicationBuilder\DisallowConfigureServicesTest.cs (6)
57
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
84
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
112
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
140
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnosis, fixedSource);
207
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);
248
await VerifyCS.
VerifyCodeFixAsync
(source, expectedDiagnostic, fixedSource);