2 instantiations of StartupAnalyzer
Microsoft.AspNetCore.Analyzers.Test (2)
MinimalStartupTest.cs (1)
16StartupAnalyzer = new StartupAnalyzer();
StartupAnalyzerTest.cs (1)
14StartupAnalyzer = new StartupAnalyzer();
33 references to StartupAnalyzer
Microsoft.AspNetCore.Analyzers (6)
BuildServiceProviderAnalyzer.cs (1)
32StartupAnalyzer.Diagnostics.BuildServiceProviderShouldNotCalledInConfigureServicesMethod,
StartupAnalysisBuilder.cs (2)
13private readonly StartupAnalyzer _analyzer; 16public StartupAnalysisBuilder(StartupAnalyzer analyzer, StartupSymbols startupSymbols)
UseAuthorizationAnalyzer.cs (2)
50StartupAnalyzer.Diagnostics.IncorrectlyConfiguredAuthorizationMiddleware, 70StartupAnalyzer.Diagnostics.IncorrectlyConfiguredAuthorizationMiddleware,
UseMvcAnalyzer.cs (1)
44StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting,
Microsoft.AspNetCore.Analyzers.Test (27)
MinimalStartupTest.cs (13)
28internal StartupAnalyzer StartupAnalyzer { get; } 126var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 147var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 166var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 206var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 251new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 255new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 259new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 284var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.BuildServiceProviderShouldNotCalledInConfigureServicesMethod) 386var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.IncorrectlyConfiguredAuthorizationMiddleware) 436var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.IncorrectlyConfiguredAuthorizationMiddleware) 535var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 591var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting)
StartupAnalyzerTest.cs (11)
26internal StartupAnalyzer StartupAnalyzer { get; } 215var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 248var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 278var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 331var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 391new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 395new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 399new DiagnosticResult(StartupAnalyzer.Diagnostics.UnsupportedUseMvcWithEndpointRouting) 435var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.BuildServiceProviderShouldNotCalledInConfigureServicesMethod) 552var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.IncorrectlyConfiguredAuthorizationMiddleware) 610var diagnosticResult = new DiagnosticResult(StartupAnalyzer.Diagnostics.IncorrectlyConfiguredAuthorizationMiddleware)
StartupCSharpAnalyzerTest.cs (3)
12internal sealed class StartupCSharpAnalyzerTest : CSharpAnalyzerTest<StartupAnalyzer, DefaultVerifier> 14public StartupCSharpAnalyzerTest(StartupAnalyzer analyzer, ImmutableArray<MetadataReference> metadataReferences) 21public StartupAnalyzer StartupAnalyzer { get; }