private HRESULT getBBProfileData(IntPtr _this, CORINFO_METHOD_STRUCT_* ftnHnd, ref uint count, ref ProfileBuffer* profileBuffer, ref uint numRuns) { throw new NotImplementedException("getBBProfileData"); }
private HRESULT allocBBProfileBuffer(IntPtr _this, uint count, ref ProfileBuffer* profileBuffer) { throw new NotImplementedException("allocBBProfileBuffer"); }
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; }
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; }
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); } }
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); } }