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