Esempio n. 1
0
 private void HandleException(IntPtr _this, _EXCEPTION_POINTERS* pExceptionPointers)
 { throw new NotImplementedException("HandleException"); }
Esempio n. 2
0
 private HRESULT GetErrorHRESULT(IntPtr _this, _EXCEPTION_POINTERS* pExceptionPointers)
 { throw new NotImplementedException("GetErrorHRESULT"); }
Esempio n. 3
0
 private int FilterException(IntPtr _this, _EXCEPTION_POINTERS* pExceptionPointers)
 {
     return 0; // EXCEPTION_CONTINUE_SEARCH
 }
Esempio n. 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);
     }
 }
Esempio n. 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");
 }
Esempio n. 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;
        }
Esempio n. 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;
        }
Esempio n. 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);
     }
 }
Esempio n. 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);
     }
 }
Esempio n. 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);
     }
 }