System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<TResult>
namespace System.Runtime.CompilerServices
{
public struct AsyncValueTaskMethodBuilder<TResult>
{
public ValueTask<TResult> Task { get; }
public static AsyncValueTaskMethodBuilder<TResult> Create();
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine;
public void SetStateMachine(IAsyncStateMachine stateMachine);
public void SetResult(TResult result);
public void SetException(Exception exception);
public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine;
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine;
}
}