Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AwaitUnsafeOnCompleted< TAwaiter, TStateMachine >() [3/3]

static void System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder< TResult >.AwaitUnsafeOnCompleted< TAwaiter, TStateMachine > ( ref TAwaiter awaiter,
ref TStateMachine stateMachine,
[NotNull] ref StateMachineBox boxRef )
inlinestaticpackage
Type Constraints
TAwaiter :ICriticalNotifyCompletion 
TStateMachine :IAsyncStateMachine 

Definition at line 333 of file PoolingAsyncValueTaskMethodBuilder.cs.

333 : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine
334 {
335 IAsyncStateMachineBox stateMachineBox = GetStateMachineBox(ref stateMachine, ref boxRef);
336 AsyncTaskMethodBuilder<VoidTaskResult>.AwaitUnsafeOnCompleted(ref awaiter, stateMachineBox);
337 }

References System.stateMachine.