1 write to _maxIndexInclusive
System.Linq (1)
System\Linq\Select.SpeedOpt.cs (1)
801
_maxIndexInclusive
= maxIndexInclusive;
9 references to _maxIndexInclusive
System.Linq (9)
System\Linq\Select.SpeedOpt.cs (9)
805
new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, _minIndexInclusive,
_maxIndexInclusive
);
813
if ((uint)index <= (uint)(
_maxIndexInclusive
- _minIndexInclusive) && index < _source.Count - _minIndexInclusive)
825
new IListSkipTakeSelectIterator<TSource, TResult2>(_source, CombineSelectors(_selector, selector), _minIndexInclusive,
_maxIndexInclusive
);
831
return (uint)minIndex > (uint)
_maxIndexInclusive
? null : new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, minIndex,
_maxIndexInclusive
);
838
return (uint)maxIndex >= (uint)
_maxIndexInclusive
? this : new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, _minIndexInclusive, maxIndex);
843
if ((uint)index <= (uint)(
_maxIndexInclusive
- _minIndexInclusive) && index < _source.Count - _minIndexInclusive)
871
return _selector(_source[Math.Min(lastIndex,
_maxIndexInclusive
)]);
888
return Math.Min(count - 1,
_maxIndexInclusive
) - _minIndexInclusive + 1;