static unsafe void SetPendingException(MonoObject *exception_obj) { var exc = (Exception)GetMonoObjectTarget(exception_obj); log_coreclr($"Runtime.SetPendingException ({exc})"); ObjectiveCMarshal.SetMessageSendPendingException(exc); }
private static IntPtr SetPendingException([CallerMemberName] string callerName = "") { ObjectiveCMarshal.SetMessageSendPendingException(new PendingException(callerName)); return(IntPtr.Zero); }