Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | ValueTaskSourceAsTask |
Public Member Functions | |
ValueTask (Task task) | |
ValueTask (IValueTaskSource source, short token) | |
override int | GetHashCode () |
override bool | Equals ([NotNullWhen(true)] object? obj) |
bool | Equals (ValueTask other) |
Task | AsTask () |
ValueTask | Preserve () |
ValueTaskAwaiter | GetAwaiter () |
ConfiguredValueTaskAwaitable | ConfigureAwait (bool continueOnCapturedContext) |
ValueTask (TResult result) | |
ValueTask (Task< TResult > task) | |
ValueTask (IValueTaskSource< TResult > source, short token) | |
override int | GetHashCode () |
override bool | Equals ([NotNullWhen(true)] object? obj) |
bool | Equals (ValueTask< TResult > other) |
Task< TResult > | AsTask () |
ValueTask< TResult > | Preserve () |
ValueTaskAwaiter< TResult > | GetAwaiter () |
ConfiguredValueTaskAwaitable< TResult > | ConfigureAwait (bool continueOnCapturedContext) |
override? string | ToString () |
bool | Equals (T? other) |
bool | Equals (T? other) |
Static Public Member Functions | |
static ValueTask< TResult > | FromResult< TResult > (TResult result) |
static ValueTask | FromCanceled (CancellationToken cancellationToken) |
static ValueTask< TResult > | FromCanceled< TResult > (CancellationToken cancellationToken) |
static ValueTask | FromException (Exception exception) |
static ValueTask< TResult > | FromException< TResult > (Exception exception) |
static bool | operator== (ValueTask left, ValueTask right) |
static bool | operator!= (ValueTask left, ValueTask right) |
static bool | operator== (ValueTask< TResult > left, ValueTask< TResult > right) |
static bool | operator!= (ValueTask< TResult > left, ValueTask< TResult > right) |
Package Functions | |
void | ThrowIfCompletedUnsuccessfully () |
Package Attributes | |
readonly object | _obj |
readonly short | _token |
readonly bool | _continueOnCapturedContext |
readonly TResult | _result |
Properties | |
static ValueTask | CompletedTask [get] |
bool | IsCompleted [get] |
bool | IsCompletedSuccessfully [get] |
bool | IsFaulted [get] |
bool | IsCanceled [get] |
TResult | Result [get] |
Private Member Functions | |
ValueTask (object obj, short token, bool continueOnCapturedContext) | |
Task | GetTaskForValueTaskSource (IValueTaskSource t) |
ValueTask (object obj, TResult result, short token, bool continueOnCapturedContext) | |
Task< TResult > | GetTaskForValueTaskSource (IValueTaskSource< TResult > t) |
Static Private Attributes | |
static volatile Task | s_canceledTask |
static volatile Task< TResult > | s_canceledTask |
Definition at line 320 of file ValueTask.cs.