1 write to _lazySharedStateProviderMap
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\CompilationAnalysisValueProviderFactory.cs (1)
21
Interlocked.CompareExchange(ref
_lazySharedStateProviderMap
, new Dictionary<object, object>(), null);
4 references to _lazySharedStateProviderMap
Microsoft.CodeAnalysis (4)
DiagnosticAnalyzer\CompilationAnalysisValueProviderFactory.cs (4)
19
if (
_lazySharedStateProviderMap
== null)
25
lock (
_lazySharedStateProviderMap
)
27
if (!
_lazySharedStateProviderMap
.TryGetValue(analysisSharedStateProvider, out value))
30
_lazySharedStateProviderMap
[analysisSharedStateProvider] = value;