Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
void | SetCompletedSynchronously (int numBytes) |
unsafe void | RegisterForCancellation (CancellationToken cancellationToken) |
void | SetException (Exception exception) |
void | SetException (IEnumerable< Exception > exceptions) |
void | SetException (Exception exception) |
void | SetException (IEnumerable< Exception > exceptions) |
bool | TrySetException (Exception exception) |
bool | TrySetException (IEnumerable< Exception > exceptions) |
bool | TrySetException (Exception exception) |
bool | TrySetException (IEnumerable< Exception > exceptions) |
void | SetResult () |
void | SetResult (TResult result) |
bool | TrySetResult () |
bool | TrySetResult (TResult result) |
void | SetCanceled () |
void | SetCanceled (CancellationToken cancellationToken) |
void | SetCanceled () |
void | SetCanceled (CancellationToken cancellationToken) |
bool | TrySetCanceled () |
bool | TrySetCanceled (CancellationToken cancellationToken) |
bool | TrySetCanceled () |
bool | TrySetCanceled (CancellationToken cancellationToken) |
Static Public Member Functions | |
static CompletionSource | Create (Net5CompatFileStreamStrategy strategy, PreAllocatedOverlapped preallocatedOverlapped, int numBufferedBytesRead, ReadOnlyMemory< byte > memory) |
Package Functions | |
unsafe | CompletionSource (Net5CompatFileStreamStrategy strategy, PreAllocatedOverlapped preallocatedOverlapped, int numBufferedBytes, byte[] bytes) |
virtual unsafe void | ReleaseNativeResource () |
Static Package Functions | |
static unsafe void | IOCallback (uint errorCode, uint numBytes, NativeOverlapped *pOverlapped) |
Static Package Attributes | |
static unsafe readonly IOCompletionCallback | s_ioCallback = IOCallback |
Properties | |
unsafe NativeOverlapped * | Overlapped [get] |
Task | Task [get] |
Task< TResult > | Task [get] |
Private Member Functions | |
void | CompleteCallback (ulong packedResult) |
Static Private Member Functions | |
static unsafe void | Cancel (object state) |
Private Attributes | |
readonly Net5CompatFileStreamStrategy | _strategy |
readonly int | _numBufferedBytes |
CancellationTokenRegistration | _cancellationRegistration |
unsafe NativeOverlapped * | _overlapped |
long | _result |
readonly Task | _task |
readonly Task< TResult > | _task |
Static Private Attributes | |
static Action< object > | s_cancelCallback |
Definition at line 11 of file Net5CompatFileStreamStrategy.cs.