1 write to _lazyStateMachineTypes
Microsoft.CodeAnalysis (1)
Compilation\CommonModuleCompilationState.cs (1)
49
Interlocked.CompareExchange(ref
_lazyStateMachineTypes
, new Dictionary<TMethodSymbol, TNamedTypeSymbol>(), null);
5 references to _lazyStateMachineTypes
Microsoft.CodeAnalysis (5)
Compilation\CommonModuleCompilationState.cs (5)
47
if (
_lazyStateMachineTypes
== null)
52
lock (
_lazyStateMachineTypes
)
54
_lazyStateMachineTypes
.Add(method, stateMachineClass);
64
return
_lazyStateMachineTypes
!= null &&
_lazyStateMachineTypes
.TryGetValue(method, out stateMachineType);