Пример #1
0
 public virtual void reportTailCallDecision_wrapper(IntPtr _this, out IntPtr exception, CORINFO_METHOD_STRUCT_* callerHnd, CORINFO_METHOD_STRUCT_* calleeHnd, [MarshalAs(UnmanagedType.I1)]bool fIsTailPrefix, CorInfoTailCall tailCallResult, byte* reason)
 {
     exception = IntPtr.Zero;
     try
     {
         reportTailCallDecision(callerHnd, calleeHnd, fIsTailPrefix, tailCallResult, reason);
         return;
     }
     catch (Exception ex)
     {
         exception = AllocException(ex);
     }
 }
Пример #2
0
 private void reportTailCallDecision(IntPtr _this, CORINFO_METHOD_STRUCT_* callerHnd, CORINFO_METHOD_STRUCT_* calleeHnd, [MarshalAs(UnmanagedType.I1)]bool fIsTailPrefix, CorInfoTailCall tailCallResult, byte* reason)
 {
 }
Пример #3
0
 static void _reportTailCallDecision(IntPtr thisHandle, IntPtr* ppException, CORINFO_METHOD_STRUCT_* callerHnd, CORINFO_METHOD_STRUCT_* calleeHnd, [MarshalAs(UnmanagedType.I1)]bool fIsTailPrefix, CorInfoTailCall tailCallResult, byte* reason)
 {
     var _this = GetThis(thisHandle);
     try
     {
         _this.reportTailCallDecision(callerHnd, calleeHnd, fIsTailPrefix, tailCallResult, reason);
     }
     catch (Exception ex)
     {
         *ppException = _this.AllocException(ex);
     }
 }