1 write to Analyses
Microsoft.AspNetCore.Analyzers.Test (1)
StartupAnalyzerTest.cs (1)
16
Analyses
= new ConcurrentBag<object>();
19 references to Analyses
Microsoft.AspNetCore.Analyzers.Test (19)
StartupAnalyzerTest.cs (19)
19
StartupAnalyzer.ServicesAnalysisCompleted += (sender, analysis) =>
Analyses
.Add(analysis);
20
StartupAnalyzer.OptionsAnalysisCompleted += (sender, analysis) =>
Analyses
.Add(analysis);
21
StartupAnalyzer.MiddlewareAnalysisCompleted += (sender, analysis) =>
Analyses
.Add(analysis);
148
var optionsAnalysis = Assert.Single(
Analyses
.OfType<OptionsAnalysis>());
151
var middlewareAnalysis = Assert.Single(
Analyses
.OfType<MiddlewareAnalysis>());
185
var optionsAnalysis = Assert.Single(
Analyses
.OfType<OptionsAnalysis>());
188
var middlewareAnalysis = Assert.Single(
Analyses
.OfType<MiddlewareAnalysis>());
291
var optionsAnalysis =
Analyses
.OfType<OptionsAnalysis>().First();
294
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
339
var optionsAnalysis =
Analyses
.OfType<OptionsAnalysis>().First();
342
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
408
var optionsAnalysis =
Analyses
.OfType<OptionsAnalysis>().First();
442
var servicesAnalysis =
Analyses
.OfType<ServicesAnalysis>().First();
470
var middlewareAnalysis = Assert.Single(
Analyses
.OfType<MiddlewareAnalysis>());
498
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
527
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
586
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
617
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
650
var middlewareAnalysis = Assert.Single(
Analyses
.OfType<MiddlewareAnalysis>());