96 references to GetDiagnosticsAsync
Microsoft.AspNetCore.App.Analyzers.Test (96)
Components\DisallowNonLiteralSequenceNumbersTest.cs (4)
24var diagnostics = await Runner.GetDiagnosticsAsync(source); 42var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 63var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 84var diagnostics = await Runner.GetDiagnosticsAsync(source.Source);
Infrastructure\WellKnownTypesTests.cs (1)
33var diagnostics = await Runner.GetDiagnosticsAsync(source.Source);
RouteEmbeddedLanguage\RoutePatternAnalyzerTests.cs (20)
41var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 73var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 106var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 134var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 162var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 191var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 220var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 257var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 287var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 327var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 367var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 407var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 444var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 481var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 521var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 550var diagnostics1 = await Runner.GetDiagnosticsAsync(source.Source); 559var diagnostics2 = await Runner.GetDiagnosticsAsync(source.Source); 589var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 615var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 642var diagnostics = await Runner.GetDiagnosticsAsync(source.Source);
RouteHandlers\DetectMisplacedLambdaAttributeTest.cs (10)
25var diagnostics = await Runner.GetDiagnosticsAsync(source); 44var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 66var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 90var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 123var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 150var diagnostics = await Runner.GetDiagnosticsAsync(source); 166var diagnostics = await Runner.GetDiagnosticsAsync(source); 186var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 214var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 236var diagnostics = await Runner.GetDiagnosticsAsync(source.Source);
RouteHandlers\DisallowMvcBindArgumentsOnParametersTest.cs (4)
23var diagnostics = await Runner.GetDiagnosticsAsync(source); 40var diagnostics = await Runner.GetDiagnosticsAsync(source); 57var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 79var diagnostics = await Runner.GetDiagnosticsAsync(source.Source);
RouteHandlers\DisallowNonParsableComplexTypesOnParametersTest.cs (9)
39var diagnostics = await Runner.GetDiagnosticsAsync(source); 56var diagnostics = await Runner.GetDiagnosticsAsync(source); 73var diagnostics = await Runner.GetDiagnosticsAsync(source); 91var diagnostics = await Runner.GetDiagnosticsAsync(source); 109var diagnostics = await Runner.GetDiagnosticsAsync(source); 127var diagnostics = await Runner.GetDiagnosticsAsync(source); 144var diagnostics = await Runner.GetDiagnosticsAsync(source); 161var diagnostics = await Runner.GetDiagnosticsAsync(source); 178var diagnostics = await Runner.GetDiagnosticsAsync(source);
RouteHandlers\DisallowReturningActionResultsFromMapMethodsTest.cs (10)
26var diagnostics = await Runner.GetDiagnosticsAsync(source); 51var diagnostics = await Runner.GetDiagnosticsAsync(source); 79var diagnostics = await Runner.GetDiagnosticsAsync(source); 106var diagnostics = await Runner.GetDiagnosticsAsync(source); 126var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 149var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 177var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 209var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 247var diagnostics = await Runner.GetDiagnosticsAsync(source.Source, controllerSource); 285var diagnostics = await Runner.GetDiagnosticsAsync(source.Source, controllerSource);
WebApplicationBuilder\DisallowConfigureHostBuilderConfigureWebHostTest.cs (10)
24var diagnostics = await Runner.GetDiagnosticsAsync(source); 41var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 62var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 84var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 106var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 124var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 152var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 181var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 215var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 235var diagnostics = await Runner.GetDiagnosticsAsync(source);
WebApplicationBuilder\DisallowConfigureHostLoggingTest.cs (1)
270var diagnostics = await Runner.GetDiagnosticsAsync(source.Source);
WebApplicationBuilder\DisallowConfigureServicesTest.cs (2)
163var diagnostics = await Runner.GetDiagnosticsAsync(source); 280var diagnostics = await Runner.GetDiagnosticsAsync(source.Source);
WebApplicationBuilder\DisallowConfigureWebHostBuilderConfigureTest.cs (7)
25var diagnostics = await Runner.GetDiagnosticsAsync(source); 43var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 64var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 91var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 119var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 139var diagnostics = await Runner.GetDiagnosticsAsync(source); 157var diagnostics = await Runner.GetDiagnosticsAsync(source);
WebApplicationBuilder\DisallowConfigureWebHostBuilderUseStartupTest.cs (9)
24var diagnostics = await Runner.GetDiagnosticsAsync(source); 42var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 63var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 83var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 104var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 131var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 159var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 183var diagnostics = await Runner.GetDiagnosticsAsync(source); 204var diagnostics = await Runner.GetDiagnosticsAsync(source);
WebApplicationBuilder\UseTopLevelRouteRegistrationInsteadOfUseEndpointsTest.cs (9)
31var diagnostics = await Runner.GetDiagnosticsAsync(source); 55var diagnostics = await Runner.GetDiagnosticsAsync(source); 73var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 97var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 118var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 154var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 203var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 229var diagnostics = await Runner.GetDiagnosticsAsync(source.Source); 257var diagnostics = await Runner.GetDiagnosticsAsync(source.Source);