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