2 instantiations of StartupAnalyzer
Microsoft.AspNetCore.Analyzers.Test (2)
MinimalStartupTest.cs (1)
16
StartupAnalyzer = new
StartupAnalyzer
();
StartupAnalyzerTest.cs (1)
14
StartupAnalyzer = new
StartupAnalyzer
();
33 references to StartupAnalyzer
Microsoft.AspNetCore.Analyzers (6)
BuildServiceProviderAnalyzer.cs (1)
32
StartupAnalyzer
.Diagnostics.BuildServiceProviderShouldNotCalledInConfigureServicesMethod,
StartupAnalysisBuilder.cs (2)
13
private readonly
StartupAnalyzer
_analyzer;
16
public StartupAnalysisBuilder(
StartupAnalyzer
analyzer, StartupSymbols startupSymbols)
UseAuthorizationAnalyzer.cs (2)
50
StartupAnalyzer
.Diagnostics.IncorrectlyConfiguredAuthorizationMiddleware,
70
StartupAnalyzer
.Diagnostics.IncorrectlyConfiguredAuthorizationMiddleware,
UseMvcAnalyzer.cs (1)
44
StartupAnalyzer
.Diagnostics.UnsupportedUseMvcWithEndpointRouting,
Microsoft.AspNetCore.Analyzers.Test (27)
MinimalStartupTest.cs (13)
28
internal
StartupAnalyzer
StartupAnalyzer { get; }
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 (11)
26
internal
StartupAnalyzer
StartupAnalyzer { get; }
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)
StartupCSharpAnalyzerTest.cs (3)
12
internal sealed class StartupCSharpAnalyzerTest : CSharpAnalyzerTest<
StartupAnalyzer
, DefaultVerifier>
14
public StartupCSharpAnalyzerTest(
StartupAnalyzer
analyzer, ImmutableArray<MetadataReference> metadataReferences)
21
public
StartupAnalyzer
StartupAnalyzer { get; }