public CursorEnumerator(CursorEnumerable <T> parent) { if (parent == null) { throw new ArgumentNullException(nameof(parent)); } this.parent = parent; Reset(); }
void IDisposable.Dispose() { parent = null; state = State.Disposed; }