1 instantiation of AnalyzerExecutionContext
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerManager.cs (1)
47
analyzerExecutionContextMap.Add(analyzer, new
AnalyzerExecutionContext
(analyzer));
14 references to AnalyzerExecutionContext
Microsoft.CodeAnalysis (14)
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (1)
89
static Task<HostSessionStartAnalysisScope> getSessionAnalysisScopeTaskSlowAsync(
AnalyzerExecutionContext
context, AnalyzerExecutor executor, CancellationToken cancellationToken)
DiagnosticAnalyzer\AnalyzerManager.cs (13)
30
private readonly Dictionary<DiagnosticAnalyzer,
AnalyzerExecutionContext
> _analyzerExecutionContextMap;
42
private Dictionary<DiagnosticAnalyzer,
AnalyzerExecutionContext
> CreateAnalyzerExecutionContextMap(IEnumerable<DiagnosticAnalyzer> analyzers)
44
var analyzerExecutionContextMap = new Dictionary<DiagnosticAnalyzer,
AnalyzerExecutionContext
>();
53
private
AnalyzerExecutionContext
GetAnalyzerExecutionContext(DiagnosticAnalyzer analyzer) => _analyzerExecutionContextMap[analyzer];
63
var
analyzerExecutionContext = GetAnalyzerExecutionContext(sessionScope.Analyzer);
73
AnalyzerExecutionContext
analyzerExecutionContext,
101
var
analyzerExecutionContext = GetAnalyzerExecutionContext(analyzer);
112
AnalyzerExecutionContext
analyzerExecutionContext,
136
var
analyzerExecutionContext = GetAnalyzerExecutionContext(analyzer);
143
AnalyzerExecutionContext
analyzerExecutionContext,
257
var
analyzerExecutionContext = GetAnalyzerExecutionContext(analyzer);
269
var
analyzerExecutionContext = GetAnalyzerExecutionContext(suppressor);
495
foreach (
var
analyzerExecutionContext in _analyzerExecutionContextMap.Values)