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