概要
private static bool IsAsynchronousMethod( MethodInfo methodInfo ) { return IsUniTask( methodInfo.ReturnType ); } private static bool IsUniTask( Type type ) { return type.IsGenericType ? type.GetGenericTypeDefinition() == typeof( UniTask<> ) : type == typeof( UniTask ) ; }