1 write to _minIndexInclusive
System.Linq (1)
System\Linq\OrderedEnumerable.SpeedOpt.cs (1)
455_minIndexInclusive = minIdxInclusive;
16 references to _minIndexInclusive
System.Linq (16)
System\Linq\OrderedEnumerable.SpeedOpt.cs (16)
459private protected override Iterator<TElement> Clone() => new SkipTakeOrderedIterator<TElement>(_source, _minIndexInclusive, _maxIndexInclusive); 472int i = state - 2 + _minIndexInclusive; 484if (count > _minIndexInclusive) 492if (_minIndexInclusive == _maxIdx) 494_current = _source.GetEnumerableSorter().ElementAt(buffer, count, _minIndexInclusive); 499_map = _source.SortedMap(buffer, _minIndexInclusive, _maxIdx); 512int minIndex = _minIndexInclusive + count; 518int maxIndex = _minIndexInclusive + count - 1; 524return new SkipTakeOrderedIterator<TElement>(_source, _minIndexInclusive, maxIndex); 529if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive)) 531return _source.TryGetElementAt(index + _minIndexInclusive, out found); 538public override TElement? TryGetFirst(out bool found) => _source.TryGetElementAt(_minIndexInclusive, out found); 541_source.TryGetLast(_minIndexInclusive, _maxIndexInclusive, out found); 543public override TElement[] ToArray() => _source.ToArray(_minIndexInclusive, _maxIndexInclusive); 545public override List<TElement> ToList() => _source.ToList(_minIndexInclusive, _maxIndexInclusive); 547public override int GetCount(bool onlyIfCheap) => _source.GetCount(_minIndexInclusive, _maxIndexInclusive, onlyIfCheap);