<PackageReference Include="NUnit" Version="3.5.0" />

AsyncInvocationRegion

public static AsyncInvocationRegion Create(Delegate delegate)

public static AsyncInvocationRegion Create(MethodInfo method)

public static bool IsAsyncOperation(MethodInfo method)

public static bool IsAsyncOperation(Delegate delegate)

public virtual void Dispose()

public abstract object WaitForPendingOperationsToComplete(object invocationResult)

Waits for pending asynchronous operations to complete, if appropriate, and returns a proper result of the invocation by unwrapping task results