public ICorDebugValue GetFieldValue(ICorDebugClass pClass, uint fieldDef) { ICorDebugValue ppValue; Interop.CorDebug.ICorDebugValue out_ppValue; this.WrappedObject.GetFieldValue(pClass.WrappedObject, fieldDef, out out_ppValue); ppValue = ICorDebugValue.Wrap(out_ppValue); return(ppValue); }
public ICorDebugClass GetClassFromToken(uint typeDef) { ICorDebugClass ppClass; Interop.CorDebug.ICorDebugClass out_ppClass; this.WrappedObject.GetClassFromToken(typeDef, out out_ppClass); ppClass = ICorDebugClass.Wrap(out_ppClass); return(ppClass); }
public ICorDebugValue CreateValue(uint elementType, ICorDebugClass pElementClass) { ICorDebugValue ppValue; Interop.CorDebug.ICorDebugValue out_ppValue; if (pElementClass != null) { this.WrappedObject.CreateValue(elementType, pElementClass.WrappedObject, out out_ppValue); } else { this.WrappedObject.CreateValue(elementType, null, out out_ppValue); } ppValue = ICorDebugValue.Wrap(out_ppValue); return(ppValue); }
/*public void NewParameterizedObjectNoConstructor(ICorDebugClass pClass, uint nTypeArgs, ref ICorDebugType ppTypeArgs) * { * Debugger.Interop.CorDebug.ICorDebugType ref_ppTypeArgs = ppTypeArgs.WrappedObject; * this.WrappedObject.NewParameterizedObjectNoConstructor(pClass.WrappedObject, nTypeArgs, ref ref_ppTypeArgs); * ppTypeArgs = ICorDebugType.Wrap(ref_ppTypeArgs); * }*/ public void NewParameterizedObjectNoConstructor(ICorDebugClass pClass, uint nTypeArgs, ICorDebugType[] ppTypeArgs) { Interop.CorDebug.ICorDebugType[] array_ppTypeArgs = new Interop.CorDebug.ICorDebugType[ppTypeArgs.Length]; for (int i = 0; (i < ppTypeArgs.Length); i = (i + 1)) { if ((ppTypeArgs[i] != null)) { array_ppTypeArgs[i] = ppTypeArgs[i].WrappedObject; } } this.WrappedObject.NewParameterizedObjectNoConstructor(pClass.WrappedObject, nTypeArgs, array_ppTypeArgs); for (int i = 0; (i < ppTypeArgs.Length); i = (i + 1)) { if ((array_ppTypeArgs[i] != null)) { ppTypeArgs[i] = ICorDebugType.Wrap(array_ppTypeArgs[i]); } else { ppTypeArgs[i] = null; } } }
public override bool Equals(object o) { ICorDebugClass casted = o as ICorDebugClass; return((casted != null) && (casted.WrappedObject == wrappedObject)); }
public void NewArray(uint elementType, ICorDebugClass pElementClass, uint rank, ref uint dims, ref uint lowBounds) { this.WrappedObject.NewArray(elementType, pElementClass.WrappedObject, rank, ref dims, ref lowBounds); }
public void NewObjectNoConstructor(ICorDebugClass pClass) { this.WrappedObject.NewObjectNoConstructor(pClass.WrappedObject); }