Ejemplo n.º 1
0
 private HRESULT getBBProfileData(IntPtr _this, CORINFO_METHOD_STRUCT_* ftnHnd, ref uint count, ref ProfileBuffer* profileBuffer, ref uint numRuns)
 { throw new NotImplementedException("getBBProfileData"); }
Ejemplo n.º 2
0
 private HRESULT allocBBProfileBuffer(IntPtr _this, uint count, ref ProfileBuffer* profileBuffer)
 { throw new NotImplementedException("allocBBProfileBuffer"); }
Ejemplo n.º 3
0
        public virtual HRESULT getBBProfileData_wrapper(IntPtr _this, out IntPtr exception, CORINFO_METHOD_STRUCT_* ftnHnd, ref uint count, ref ProfileBuffer* profileBuffer, ref uint numRuns)
        {
            exception = IntPtr.Zero;
            try
            {
                return getBBProfileData(ftnHnd, ref count, ref profileBuffer, ref numRuns);

            }
            catch (Exception ex)
            {
                exception = AllocException(ex);
            }
            return (HRESULT)0;
        }
Ejemplo n.º 4
0
        public virtual HRESULT allocBBProfileBuffer_wrapper(IntPtr _this, out IntPtr exception, uint count, ref ProfileBuffer* profileBuffer)
        {
            exception = IntPtr.Zero;
            try
            {
                return allocBBProfileBuffer(count, ref profileBuffer);

            }
            catch (Exception ex)
            {
                exception = AllocException(ex);
            }
            return (HRESULT)0;
        }
Ejemplo n.º 5
0
 static HRESULT _getBBProfileData(IntPtr thisHandle, IntPtr* ppException, CORINFO_METHOD_STRUCT_* ftnHnd, ref uint count, ref ProfileBuffer* profileBuffer, ref uint numRuns)
 {
     var _this = GetThis(thisHandle);
     try
     {
         return _this.getBBProfileData(ftnHnd, ref count, ref profileBuffer, ref numRuns);
     }
     catch (Exception ex)
     {
         *ppException = _this.AllocException(ex);
         return default(HRESULT);
     }
 }
Ejemplo n.º 6
0
 static HRESULT _allocBBProfileBuffer(IntPtr thisHandle, IntPtr* ppException, uint count, ref ProfileBuffer* profileBuffer)
 {
     var _this = GetThis(thisHandle);
     try
     {
         return _this.allocBBProfileBuffer(count, ref profileBuffer);
     }
     catch (Exception ex)
     {
         *ppException = _this.AllocException(ex);
         return default(HRESULT);
     }
 }