1 write to _maxIndexInclusive
System.Linq (1)
System\Linq\SkipTake.SpeedOpt.cs (1)
29
_maxIndexInclusive
= maxIndexInclusive;
9 references to _maxIndexInclusive
System.Linq (9)
System\Linq\SkipTake.SpeedOpt.cs (9)
33
new IListSkipTakeIterator<TSource>(_source, _minIndexInclusive,
_maxIndexInclusive
);
41
if ((uint)index <= (uint)(
_maxIndexInclusive
- _minIndexInclusive) && index < _source.Count - _minIndexInclusive)
53
new IListSkipTakeSelectIterator<TSource, TResult>(_source, selector, _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);
69
if ((uint)index <= (uint)(
_maxIndexInclusive
- _minIndexInclusive) && index < _source.Count - _minIndexInclusive)
97
return _source[Math.Min(lastIndex,
_maxIndexInclusive
)];
114
return Math.Min(count - 1,
_maxIndexInclusive
) - _minIndexInclusive + 1;