public virtual void getVars_wrapper(IntPtr _this, out IntPtr exception, CORINFO_METHOD_STRUCT_* ftn, ref uint cVars, ILVarInfo** vars, [MarshalAs(UnmanagedType.U1)] ref bool extendOthers) { exception = IntPtr.Zero; try { getVars(ftn, ref cVars, vars, ref extendOthers); return; } catch (Exception ex) { exception = AllocException(ex); } }
private void getVars(IntPtr _this, CORINFO_METHOD_STRUCT_* ftn, ref uint cVars, ILVarInfo** vars, [MarshalAs(UnmanagedType.U1)] ref bool extendOthers) { // TODO: Debugging cVars = 0; *vars = null; // Just tell the JIT to extend everything. extendOthers = true; }
static void _getVars(IntPtr thisHandle, IntPtr* ppException, CORINFO_METHOD_STRUCT_* ftn, ref uint cVars, ILVarInfo** vars, [MarshalAs(UnmanagedType.U1)] ref bool extendOthers) { var _this = GetThis(thisHandle); try { _this.getVars(ftn, ref cVars, vars, ref extendOthers); } catch (Exception ex) { *ppException = _this.AllocException(ex); } }