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