text: public virtual void remove(){if (this.last == null){throw new System.InvalidOperationException();}this._enclosing.removeInternal(this.last);this.expectedModCount = this._enclosing.modCount;this.last = null;}