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