public virtual void Reset() { if (modCount != stack.modCount) { throw new InvalidOperationException(); } current = BOF; } }