2 instantiations of AsyncStateMachineBox
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (2)
220var box = new AsyncStateMachineBox<TStateMachine>(); 453return 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)
167if (taskField is AsyncStateMachineBox<TStateMachine> stronglyTypedBox) 184else if (taskField is AsyncStateMachineBox<IAsyncStateMachine> weaklyTypedBox) 220var box = new AsyncStateMachineBox<TStateMachine>(); 290Debug.Assert(s is AsyncStateMachineBox<TStateMachine>); 292Unsafe.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.