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