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