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