3 writes to _analyzerHostDiagnosticsMap
Microsoft.CodeAnalysis.Features (3)
Diagnostics\AbstractHostDiagnosticUpdateSource.cs (3)
58var dxs = ImmutableInterlocked.AddOrUpdate(ref _analyzerHostDiagnosticsMap, 114ImmutableInterlocked.TryUpdate(ref _analyzerHostDiagnosticsMap, analyzer, newDiags, existing)) 120else if (ImmutableInterlocked.TryRemove(ref _analyzerHostDiagnosticsMap, analyzer, out existing))
5 references to _analyzerHostDiagnosticsMap
Microsoft.CodeAnalysis.Features (5)
Diagnostics\AbstractHostDiagnosticUpdateSource.cs (5)
78if (_analyzerHostDiagnosticsMap.Count == 0) 95foreach (var (analyzer, _) in _analyzerHostDiagnosticsMap) 103if (!_analyzerHostDiagnosticsMap.TryGetValue(analyzer, out var existing)) 157=> _abstractHostDiagnosticUpdateSource._analyzerHostDiagnosticsMap.Values.Flatten().ToImmutableArray(); 161if (!_abstractHostDiagnosticUpdateSource._analyzerHostDiagnosticsMap.TryGetValue(analyzer, out var diagnostics))