4 writes to StateMachine
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (4)
197weaklyTypedBox.StateMachine = stateMachine; 223box.StateMachine = stateMachine; 409StateMachine = default; 488state = AsyncStateMachineDiagnostics<TStateMachine>.GetState(ref StateMachine);
7 references to StateMachine
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (7)
194if (weaklyTypedBox.StateMachine is null) 421Unsafe.As<StateMachineBox<TStateMachine>>(s).StateMachine!.MoveNext(); 430/// <summary>Calls MoveNext on <see cref="StateMachine"/></summary> 445Debug.Assert(StateMachine is not null, $"Null {nameof(StateMachine)}"); 446StateMachine.MoveNext(); 481IAsyncStateMachine IAsyncStateMachineBox.GetStateMachineObject() => StateMachine!; // likely boxes, only use for debugging