2 writes to m_stateMachine
mscorlib (2)
system\runtime\compilerservices\AsyncMethodBuilder.cs (2)
889m_stateMachine = stateMachine; 992m_stateMachine = stateMachine;
14 references to m_stateMachine
mscorlib (14)
system\runtime\compilerservices\AsyncMethodBuilder.cs (14)
120if (m_coreState.m_stateMachine == null) 166if (m_coreState.m_stateMachine == null) 507if (m_coreState.m_stateMachine == null) 547if (m_coreState.m_stateMachine == null) 888if (m_stateMachine != null) throw new InvalidOperationException(Environment.GetResourceString("AsyncMethodBuilder_InstanceNotInitialized")); 904Contract.Assert(m_defaultContextAction == null || m_stateMachine != null, 927Contract.Assert(m_stateMachine != null, "If the delegate was set, the state machine should have been as well."); 933runner = new MoveNextRunner(capturedContext, m_stateMachine); 949runner = new MoveNextRunner(capturedContext, m_stateMachine); 962if (m_stateMachine == null) 993m_stateMachine.SetStateMachine(m_stateMachine); 996Contract.Assert(m_stateMachine != null, "The builder's state machine field should have been initialized."); 1000runner.m_stateMachine = m_stateMachine; // only after this line is the Action delegate usable