10 instantiations of IEnumerableSkipTakeIterator
System.Linq (10)
System\Linq\Iterator.SpeedOpt.cs (2)
37public virtual Iterator<TSource>? Skip(int count) => new IEnumerableSkipTakeIterator<TSource>(this, count, -1); 44public virtual Iterator<TSource>? Take(int count) => new IEnumerableSkipTakeIterator<TSource>(this, 0, count - 1);
System\Linq\Skip.SpeedOpt.cs (1)
13new IEnumerableSkipTakeIterator<TSource>(source, count, -1);
System\Linq\SkipTake.SpeedOpt.cs (5)
234new IEnumerableSkipTakeIterator<TSource>(_source, _minIndexInclusive, _maxIndexInclusive); 338return new IEnumerableSkipTakeIterator<TSource>(this, count, -1); 350return new IEnumerableSkipTakeIterator<TSource>(_source, minIndex, _maxIndexInclusive); 366return new IEnumerableSkipTakeIterator<TSource>(this, 0, count - 1); 378return new IEnumerableSkipTakeIterator<TSource>(_source, _minIndexInclusive, maxIndex);
System\Linq\Take.SpeedOpt.cs (2)
19new IEnumerableSkipTakeIterator<TSource>(source, 0, count - 1); 30new IEnumerableSkipTakeIterator<TSource>(source, startIndex, endIndex - 1);