Beispiel #1
0
 private void HandleException(IntPtr _this, _EXCEPTION_POINTERS* pExceptionPointers)
 { throw new NotImplementedException("HandleException"); }
Beispiel #2
0
 private HRESULT GetErrorHRESULT(IntPtr _this, _EXCEPTION_POINTERS* pExceptionPointers)
 { throw new NotImplementedException("GetErrorHRESULT"); }
Beispiel #3
0
 private int FilterException(IntPtr _this, _EXCEPTION_POINTERS* pExceptionPointers)
 {
     return 0; // EXCEPTION_CONTINUE_SEARCH
 }
Beispiel #4
0
 public virtual void HandleException_wrapper(IntPtr _this, out IntPtr exception, _EXCEPTION_POINTERS* pExceptionPointers)
 {
     exception = IntPtr.Zero;
     try
     {
         HandleException(pExceptionPointers);
         return;
     }
     catch (Exception ex)
     {
         exception = AllocException(ex);
     }
 }
Beispiel #5
0
 private void HandleException(_EXCEPTION_POINTERS* pExceptionPointers)
 {
     // This method is completely handled by the C++ wrapper to the JIT-EE interface,
     // and should never reach the managed implementation.
     Debug.Assert(false, "CorInfoImpl.HandleException should not be called");
     throw new NotSupportedException("HandleException");
 }
Beispiel #6
0
        public virtual int FilterException_wrapper(IntPtr _this, out IntPtr exception, _EXCEPTION_POINTERS* pExceptionPointers)
        {
            exception = IntPtr.Zero;
            try
            {
                return FilterException(pExceptionPointers);

            }
            catch (Exception ex)
            {
                exception = AllocException(ex);
            }
            return (int)0;
        }
Beispiel #7
0
        public virtual HRESULT GetErrorHRESULT_wrapper(IntPtr _this, out IntPtr exception, _EXCEPTION_POINTERS* pExceptionPointers)
        {
            exception = IntPtr.Zero;
            try
            {
                return GetErrorHRESULT(pExceptionPointers);

            }
            catch (Exception ex)
            {
                exception = AllocException(ex);
            }
            return (HRESULT)0;
        }
Beispiel #8
0
 static void _HandleException(IntPtr thisHandle, IntPtr* ppException, _EXCEPTION_POINTERS* pExceptionPointers)
 {
     var _this = GetThis(thisHandle);
     try
     {
         _this.HandleException(pExceptionPointers);
     }
     catch (Exception ex)
     {
         *ppException = _this.AllocException(ex);
     }
 }
Beispiel #9
0
 static int _FilterException(IntPtr thisHandle, IntPtr* ppException, _EXCEPTION_POINTERS* pExceptionPointers)
 {
     var _this = GetThis(thisHandle);
     try
     {
         return _this.FilterException(pExceptionPointers);
     }
     catch (Exception ex)
     {
         *ppException = _this.AllocException(ex);
         return default(int);
     }
 }
Beispiel #10
0
 static HRESULT _GetErrorHRESULT(IntPtr thisHandle, IntPtr* ppException, _EXCEPTION_POINTERS* pExceptionPointers)
 {
     var _this = GetThis(thisHandle);
     try
     {
         return _this.GetErrorHRESULT(pExceptionPointers);
     }
     catch (Exception ex)
     {
         *ppException = _this.AllocException(ex);
         return default(HRESULT);
     }
 }