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