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