public static ICorDebugContext Wrap(Debugger.Interop.CorDebug.ICorDebugContext objectToWrap) { if ((objectToWrap != null)) { return(new ICorDebugContext(objectToWrap)); } else { return(null); } }
public ICorDebugContext(Debugger.Interop.CorDebug.ICorDebugContext wrappedObject) { this.wrappedObject = wrappedObject; ResourceManager.TrackCOMObject(wrappedObject, typeof(ICorDebugContext)); }