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