3 instantiations of AsyncStateMachineBox
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (3)
241
box = new
AsyncStateMachineBox
<TStateMachine>();
259
box = new
AsyncStateMachineBox
<TStateMachine>();
629
return new
AsyncStateMachineBox
<IAsyncStateMachine>();
6 references to AsyncStateMachineBox
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (5)
184
if (taskField is
AsyncStateMachineBox
<TStateMachine> stronglyTypedBox)
201
else if (taskField is
AsyncStateMachineBox
<IAsyncStateMachine> weaklyTypedBox)
232
AsyncStateMachineBox
<TStateMachine> box;
426
Debug.Assert(s is
AsyncStateMachineBox
<TStateMachine>);
428
Unsafe.As<
AsyncStateMachineBox
<TStateMachine>>(s).StateMachine!.MoveNext();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\IAsyncStateMachineBox.cs (1)
7
/// An interface implemented by all <see cref="AsyncTaskMethodBuilder{TResult}.
AsyncStateMachineBox
{TStateMachine}"/> instances, regardless of generics.