ValueTask<TResult> public struct ValueTask<TResult> : IEquatable<ValueTask<TResult>> Documentation Code public bool IsCanceled { get; } public bool IsCompleted { get; } public bool IsCompletedSuccessfully { get; } public bool IsFaulted { get; } public TResult Result { get; } public ValueTask(TResult result) public ValueTask(Task<TResult> task) public static AsyncValueTaskMethodBuilder<TResult> CreateAsyncMethodBuilder() public static bool op_Equality(ValueTask<TResult> left, ValueTask<TResult> right) public static bool op_Inequality(ValueTask<TResult> left, ValueTask<TResult> right) public Task<TResult> AsTask() public ConfiguredValueTaskAwaitable<TResult> ConfigureAwait(bool continueOnCapturedContext) public bool Equals(ValueTask<TResult> other) public ValueTaskAwaiter<TResult> GetAwaiter()