Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder< TResult > Struct Template Reference

Classes

class  StateMachineBox
 
class  SyncSuccessSentinelStateMachineBox
 

Public Member Functions

void Start< TStateMachine > (ref TStateMachine stateMachine)
 
void SetStateMachine (IAsyncStateMachine stateMachine)
 
void SetResult ()
 
void SetException (Exception exception)
 
void AwaitOnCompleted< TAwaiter, TStateMachine > (ref TAwaiter awaiter, ref TStateMachine stateMachine)
 
void AwaitUnsafeOnCompleted< TAwaiter, TStateMachine > (ref TAwaiter awaiter, ref TStateMachine stateMachine)
 
void Start< TStateMachine > (ref TStateMachine stateMachine)
 
void SetStateMachine (IAsyncStateMachine stateMachine)
 
void SetResult (TResult result)
 
void SetException (Exception exception)
 
void AwaitOnCompleted< TAwaiter, TStateMachine > (ref TAwaiter awaiter, ref TStateMachine stateMachine)
 
void AwaitUnsafeOnCompleted< TAwaiter, TStateMachine > (ref TAwaiter awaiter, ref TStateMachine stateMachine)
 

Static Public Member Functions

static PoolingAsyncValueTaskMethodBuilder Create ()
 
static PoolingAsyncValueTaskMethodBuilder< TResultCreate ()
 

Static Package Functions

static void SetException (Exception exception, [NotNull] ref StateMachineBox boxFieldRef)
 
static void AwaitOnCompleted< TAwaiter, TStateMachine > (ref TAwaiter awaiter, ref TStateMachine stateMachine, ref StateMachineBox box)
 
static void AwaitUnsafeOnCompleted< TAwaiter, TStateMachine > (ref TAwaiter awaiter, ref TStateMachine stateMachine, [NotNull] ref StateMachineBox boxRef)
 
static StateMachineBox CreateWeaklyTypedStateMachineBox ()
 

Static Package Attributes

static readonly StateMachineBox s_syncSuccessSentinel = new SyncSuccessSentinelStateMachineBox()
 

Properties

ValueTask Task [get]
 
ValueTask< TResultTask [get]
 

Static Private Member Functions

static IAsyncStateMachineBox GetStateMachineBox< TStateMachine > (ref TStateMachine stateMachine, [NotNull] ref StateMachineBox boxFieldRef)
 

Private Attributes

PoolingAsyncValueTaskMethodBuilder< VoidTaskResult >.StateMachineBox m_task
 
StateMachineBox m_task
 
TResult _result
 

Static Private Attributes

static readonly PoolingAsyncValueTaskMethodBuilder< VoidTaskResult >.StateMachineBox s_syncSuccessSentinel = PoolingAsyncValueTaskMethodBuilder<VoidTaskResult>.s_syncSuccessSentinel
 

Detailed Description

Definition at line 77 of file PoolingAsyncValueTaskMethodBuilder.cs.


The documentation for this struct was generated from the following file: