1 write to _lazyStateMachineTypes
Microsoft.CodeAnalysis (1)
Compilation\CommonModuleCompilationState.cs (1)
48
Interlocked.CompareExchange(ref
_lazyStateMachineTypes
, new Dictionary<TMethodSymbol, TNamedTypeSymbol>(), null);
5 references to _lazyStateMachineTypes
Microsoft.CodeAnalysis (5)
Compilation\CommonModuleCompilationState.cs (5)
46
if (
_lazyStateMachineTypes
== null)
51
lock (
_lazyStateMachineTypes
)
53
_lazyStateMachineTypes
.Add(method, stateMachineClass);
62
return
_lazyStateMachineTypes
!= null &&
_lazyStateMachineTypes
.TryGetValue(method, out stateMachineType);