2 types derived from StateMachineBox
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (2)
303
private sealed class SyncSuccessSentinelStateMachineBox :
StateMachineBox
310
StateMachineBox
,
12 references to StateMachineBox
System.Private.CoreLib (12)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilder.cs (4)
6
using StateMachineBox = System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder<System.Threading.Tasks.VoidTaskResult>.
StateMachineBox
;
15
private static readonly
StateMachineBox
s_syncSuccessSentinel = PoolingAsyncValueTaskMethodBuilder<VoidTaskResult>.s_syncSuccessSentinel;
21
private
StateMachineBox
? m_task; // Debugger depends on the exact name of this field.
76
StateMachineBox
? box = m_task ??= PoolingAsyncValueTaskMethodBuilder<VoidTaskResult>.CreateWeaklyTypedStateMachineBox();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (8)
25
internal static readonly
StateMachineBox
s_syncSuccessSentinel = new SyncSuccessSentinelStateMachineBox();
28
private
StateMachineBox
? m_task; // Debugger depends on the exact name of this field.
68
internal static void SetException(Exception exception, [NotNull] ref
StateMachineBox
? boxFieldRef)
96
StateMachineBox
? box = m_task ??= CreateWeaklyTypedStateMachineBox();
112
ref TAwaiter awaiter, ref TStateMachine stateMachine, ref
StateMachineBox
? box)
148
ref TAwaiter awaiter, ref TStateMachine stateMachine, [NotNull] ref
StateMachineBox
? boxRef)
163
[NotNull] ref
StateMachineBox
? boxFieldRef)
233
internal static
StateMachineBox
CreateWeaklyTypedStateMachineBox() => new StateMachineBox<IAsyncStateMachine>();