1 write to _hostAnalyzerReferencesMap
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\HostDiagnosticAnalyzers.cs (1)
60_hostAnalyzerReferencesMap = CreateAnalyzerReferencesMap(hostAnalyzerReferences);
5 references to _hostAnalyzerReferencesMap
Microsoft.CodeAnalysis.Workspaces (5)
Diagnostics\HostDiagnosticAnalyzers.cs (5)
62_lazyHostDiagnosticAnalyzersPerReferenceMap = new Lazy<ImmutableDictionary<object, ImmutableArray<DiagnosticAnalyzer>>>(() => CreateDiagnosticAnalyzersPerReferenceMap(_hostAnalyzerReferencesMap), isThreadSafe: true); 82_hostAnalyzerReferencesMap); 88var map = _hostAnalyzerReferencesMap.AddRange(CreateProjectAnalyzerReferencesMap(project.AnalyzerReferences)); 157=> CreateAnalyzerReferencesMap(projectAnalyzerReferences.Where(reference => !_hostAnalyzerReferencesMap.ContainsKey(reference.Id))); 185foreach (var (referenceIdentity, reference) in _hostAnalyzerReferencesMap)