1 write to Analyses
Microsoft.AspNetCore.Analyzers.Test (1)
MinimalStartupTest.cs (1)
18
Analyses
= new ConcurrentBag<object>();
24 references to Analyses
Microsoft.AspNetCore.Analyzers.Test (24)
MinimalStartupTest.cs (24)
21
StartupAnalyzer.ServicesAnalysisCompleted += (sender, analysis) =>
Analyses
.Add(analysis);
22
StartupAnalyzer.OptionsAnalysisCompleted += (sender, analysis) =>
Analyses
.Add(analysis);
23
StartupAnalyzer.MiddlewareAnalysisCompleted += (sender, analysis) =>
Analyses
.Add(analysis);
82
var optionsAnalysis = Assert.Single(
Analyses
.OfType<OptionsAnalysis>());
85
var middlewareAnalysis = Assert.Single(
Analyses
.OfType<MiddlewareAnalysis>());
107
var optionsAnalysis = Assert.Single(
Analyses
.OfType<OptionsAnalysis>());
110
var middlewareAnalysis = Assert.Single(
Analyses
.OfType<MiddlewareAnalysis>());
179
var optionsAnalysis =
Analyses
.OfType<OptionsAnalysis>().First();
182
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
214
var optionsAnalysis =
Analyses
.OfType<OptionsAnalysis>().First();
217
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
268
var optionsAnalysis =
Analyses
.OfType<OptionsAnalysis>().First();
291
var servicesAnalysis =
Analyses
.OfType<ServicesAnalysis>().First();
315
var middlewareAnalysis = Assert.Single(
Analyses
.OfType<MiddlewareAnalysis>());
340
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
365
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
416
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
443
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
468
var middlewareAnalysis = Assert.Single(
Analyses
.OfType<MiddlewareAnalysis>());
502
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
543
var optionsAnalysis =
Analyses
.OfType<OptionsAnalysis>().First();
546
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();
599
var optionsAnalysis =
Analyses
.OfType<OptionsAnalysis>().First();
602
var middlewareAnalysis =
Analyses
.OfType<MiddlewareAnalysis>().First();