public uint Next(uint celt, ICorDebugFrame[] frames) { uint pceltFetched; Debugger.Interop.CorDebug.ICorDebugFrame[] array_frames = new Debugger.Interop.CorDebug.ICorDebugFrame[frames.Length]; for (int i = 0; (i < frames.Length); i = (i + 1)) { if ((frames[i] != null)) { array_frames[i] = frames[i].WrappedObject; } } this.WrappedObject.Next(celt, array_frames, out pceltFetched); for (int i = 0; (i < frames.Length); i = (i + 1)) { if ((array_frames[i] != null)) { frames[i] = ICorDebugFrame.Wrap(array_frames[i]); } else { frames[i] = null; } } return(pceltFetched); }
public static ICorDebugFrame Wrap(Debugger.Interop.CorDebug.ICorDebugFrame objectToWrap) { if ((objectToWrap != null)) { return(new ICorDebugFrame(objectToWrap)); } else { return(null); } }
public ICorDebugFrame(Debugger.Interop.CorDebug.ICorDebugFrame wrappedObject) { this.wrappedObject = wrappedObject; ResourceManager.TrackCOMObject(wrappedObject, typeof(ICorDebugFrame)); }