Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder< TResult >.SyncSuccessSentinelStateMachineBox Class Referencesealed

Public Member Functions

 SyncSuccessSentinelStateMachineBox ()
 
void SetResult (TResult result)
 
void SetException (Exception error)
 
ValueTaskSourceStatus GetStatus (short token)
 
void OnCompleted (Action< object > continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags)
 
void OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags)
 
void OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags)
 
void ClearStateUponCompletion ()
 
void MoveNext ()
 

Public Attributes

ExecutionContext Context
 
TStateMachine StateMachine
 

Protected Attributes

Action _moveNextAction
 
ManualResetValueTaskSourceCore< TResult_valueTaskSource
 

Static Package Functions

static StateMachineBox< TStateMachine > RentFromCache ()
 

Properties

short Version [get]
 
static ref StateMachineBox< TStateMachine > PerCoreCacheSlot [get]
 
Action MoveNextAction [get]
 

Private Member Functions

TResult IValueTaskSource< TResult >. GetResult (short token)
 
void IValueTaskSource. GetResult (short token)
 
TResult IValueTaskSource< TResult >. GetResult (short token)
 
void IValueTaskSource. GetResult (short token)
 
void ReturnToCache ()
 
void IThreadPoolWorkItem. Execute ()
 
IAsyncStateMachine IAsyncStateMachineBox. GetStateMachineObject ()
 

Static Private Member Functions

static void ExecutionContextCallback (object s)
 

Static Private Attributes

static readonly ContextCallback s_callback = ExecutionContextCallback
 
static readonly PaddedReference[] s_perCoreCache = new PaddedReference[Environment.ProcessorCount]
 
static StateMachineBox< TStateMachine > t_tlsCache
 

Detailed Description

Definition at line 120 of file PoolingAsyncValueTaskMethodBuilder.cs.


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