3 instantiations of AsyncStateMachineBox
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (3)
241box = new AsyncStateMachineBox<TStateMachine>(); 259box = new AsyncStateMachineBox<TStateMachine>(); 629return 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)
184if (taskField is AsyncStateMachineBox<TStateMachine> stronglyTypedBox) 201else if (taskField is AsyncStateMachineBox<IAsyncStateMachine> weaklyTypedBox) 232AsyncStateMachineBox<TStateMachine> box; 426Debug.Assert(s is AsyncStateMachineBox<TStateMachine>); 428Unsafe.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.