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

NUnit.Framework.Internal.AsyncToSyncAdapter

static class AsyncToSyncAdapter
namespace NUnit.Framework.Internal { internal static class AsyncToSyncAdapter { public static bool IsAsyncOperation(MethodInfo method); public static bool IsAsyncOperation(Delegate delegate); public static object Await(Func<object> invoke); public static TResult Await<TResult>(Func<object> invoke); } }