6 references to IListSkipTakeIterator
System.Linq (6)
System\Linq\Skip.SpeedOpt.cs (1)
12
(IEnumerable<TSource>)new
IListSkipTakeIterator
<TSource>(sourceList, count, int.MaxValue) :
System\Linq\SkipTake.SpeedOpt.cs (3)
33
new
IListSkipTakeIterator
<TSource>(_source, _minIndexInclusive, _maxIndexInclusive);
58
return (uint)minIndex > (uint)_maxIndexInclusive ? null : new
IListSkipTakeIterator
<TSource>(_source, minIndex, _maxIndexInclusive);
64
return (uint)maxIndex >= (uint)_maxIndexInclusive ? this : new
IListSkipTakeIterator
<TSource>(_source, _minIndexInclusive, maxIndex);
System\Linq\Take.SpeedOpt.cs (2)
18
source is IList<TSource> sourceList ? new
IListSkipTakeIterator
<TSource>(sourceList, 0, count - 1) :
29
source is IList<TSource> sourceList ? new
IListSkipTakeIterator
<TSource>(sourceList, startIndex, endIndex - 1) :