4 writes to StateMachine
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (4)
207
weaklyTypedBox.
StateMachine
= stateMachine;
263
box.
StateMachine
= stateMachine;
578
StateMachine
= default;
590
state = AsyncStateMachineDiagnostics<TStateMachine>.GetState(ref
StateMachine
);
7 references to StateMachine
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (7)
204
if (weaklyTypedBox.
StateMachine
== null)
428
Unsafe.As<AsyncStateMachineBox<TStateMachine>>(s).
StateMachine
!.MoveNext();
454
StateMachine
?.ToString() ??
485
/// <summary>Calls MoveNext on <see cref="
StateMachine
"/></summary>
522
Debug.Assert(
StateMachine
!= null);
523
StateMachine
.MoveNext();
583
IAsyncStateMachine IAsyncStateMachineBox.GetStateMachineObject() =>
StateMachine
!; // likely boxes, only use for debugging