public bool MoveNext()
        {
            Row.AssertNotDisposed();

            if (NextIndex >= Row.Width)
            {
                Current = null;
                return(false);
            }

            Current = Row.GetCellAt(NextIndex);

            NextIndex++;

            return(true);
        }
Example #2
0
        public bool MoveNext()
        {
            AssertNotDisposed();

            if (NextIndex == Row.Width)
            {
                _Current = default;
                return(false);
            }

            dynamic val = Row.GetCellAt(NextIndex);

            _Current = val;

            NextIndex++;

            return(true);
        }