public static void RevertRedirect(MethodInfo m, RedirectCallsState state) { var fptr1 = m.MethodHandle.GetFunctionPointer(); RevertJumpTo(fptr1, state); }