private void ThrowExceptionForHelper(IntPtr _this, ref CORINFO_HELPER_DESC throwHelper) { throw new NotImplementedException("ThrowExceptionForHelper"); }
private CorInfoIsAccessAllowedResult canAccessClass(IntPtr _this, ref CORINFO_RESOLVED_TOKEN pResolvedToken, CORINFO_METHOD_STRUCT_* callerHandle, ref CORINFO_HELPER_DESC pAccessHelper) { // TODO: Access check return CorInfoIsAccessAllowedResult.CORINFO_ACCESS_ALLOWED; }
public virtual void ThrowExceptionForHelper_wrapper(IntPtr _this, out IntPtr exception, ref CORINFO_HELPER_DESC throwHelper) { exception = IntPtr.Zero; try { ThrowExceptionForHelper(ref throwHelper); return; } catch (Exception ex) { exception = AllocException(ex); } }
public virtual CorInfoIsAccessAllowedResult canAccessClass_wrapper(IntPtr _this, out IntPtr exception, ref CORINFO_RESOLVED_TOKEN pResolvedToken, CORINFO_METHOD_STRUCT_* callerHandle, ref CORINFO_HELPER_DESC pAccessHelper) { exception = IntPtr.Zero; try { return canAccessClass(ref pResolvedToken, callerHandle, ref pAccessHelper); } catch (Exception ex) { exception = AllocException(ex); } return (CorInfoIsAccessAllowedResult)0; }
static void _ThrowExceptionForHelper(IntPtr thisHandle, IntPtr* ppException, ref CORINFO_HELPER_DESC throwHelper) { var _this = GetThis(thisHandle); try { _this.ThrowExceptionForHelper(ref throwHelper); } catch (Exception ex) { *ppException = _this.AllocException(ex); } }
static CorInfoIsAccessAllowedResult _canAccessClass(IntPtr thisHandle, IntPtr* ppException, ref CORINFO_RESOLVED_TOKEN pResolvedToken, CORINFO_METHOD_STRUCT_* callerHandle, ref CORINFO_HELPER_DESC pAccessHelper) { var _this = GetThis(thisHandle); try { return _this.canAccessClass(ref pResolvedToken, callerHandle, ref pAccessHelper); } catch (Exception ex) { *ppException = _this.AllocException(ex); return default(CorInfoIsAccessAllowedResult); } }