27 references to Diagnostics
Microsoft.AspNetCore.Analyzers (5)
BuildServiceProviderAnalyzer.cs (1)
32
StartupAnalyzer.
Diagnostics
.BuildServiceProviderShouldNotCalledInConfigureServicesMethod,
StartupAnalyzer.cs (1)
15
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
Diagnostics
.SupportedDiagnostics;
UseAuthorizationAnalyzer.cs (2)
50
StartupAnalyzer.
Diagnostics
.IncorrectlyConfiguredAuthorizationMiddleware,
70
StartupAnalyzer.
Diagnostics
.IncorrectlyConfiguredAuthorizationMiddleware,
UseMvcAnalyzer.cs (1)
44
StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting,
Microsoft.AspNetCore.Analyzers.Test (22)
MinimalStartupTest.cs (12)
126
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
147
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
166
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
206
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
251
new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
255
new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
259
new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
284
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.BuildServiceProviderShouldNotCalledInConfigureServicesMethod)
386
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.IncorrectlyConfiguredAuthorizationMiddleware)
436
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.IncorrectlyConfiguredAuthorizationMiddleware)
535
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
591
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
StartupAnalyzerTest.cs (10)
215
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
248
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
278
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
331
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
391
new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
395
new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
399
new DiagnosticResult(StartupAnalyzer.
Diagnostics
.UnsupportedUseMvcWithEndpointRouting)
435
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.BuildServiceProviderShouldNotCalledInConfigureServicesMethod)
552
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.IncorrectlyConfiguredAuthorizationMiddleware)
610
var diagnosticResult = new DiagnosticResult(StartupAnalyzer.
Diagnostics
.IncorrectlyConfiguredAuthorizationMiddleware)