1 write to _maxIndexInclusive
System.Linq (1)
System\Linq\Select.SpeedOpt.cs (1)
862_maxIndexInclusive = maxIndexInclusive;
9 references to _maxIndexInclusive
System.Linq (9)
System\Linq\Select.SpeedOpt.cs (9)
866new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, _minIndexInclusive, _maxIndexInclusive); 874if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index < _source.Count - _minIndexInclusive) 886new IListSkipTakeSelectIterator<TSource, TResult2>(_source, CombineSelectors(_selector, selector), _minIndexInclusive, _maxIndexInclusive); 892return (uint)minIndex > (uint)_maxIndexInclusive ? null : new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, minIndex, _maxIndexInclusive); 899return (uint)maxIndex >= (uint)_maxIndexInclusive ? this : new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, _minIndexInclusive, maxIndex); 904if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index < _source.Count - _minIndexInclusive) 932return _selector(_source[Math.Min(lastIndex, _maxIndexInclusive)]); 949return Math.Min(count - 1, _maxIndexInclusive) - _minIndexInclusive + 1;