Example #1
0
        static unsafe void SetPendingException(MonoObject *exception_obj)
        {
            var exc = (Exception)GetMonoObjectTarget(exception_obj);

            log_coreclr($"Runtime.SetPendingException ({exc})");
            ObjectiveCMarshal.SetMessageSendPendingException(exc);
        }
Example #2
0
 private static IntPtr SetPendingException([CallerMemberName] string callerName = "")
 {
     ObjectiveCMarshal.SetMessageSendPendingException(new PendingException(callerName));
     return(IntPtr.Zero);
 }