1 write to _maxIndexInclusive
System.Linq (1)
System\Linq\SkipTake.SpeedOpt.cs (1)
29_maxIndexInclusive = maxIndexInclusive;
10 references to _maxIndexInclusive
System.Linq (10)
System\Linq\SkipTake.SpeedOpt.cs (10)
33new IListSkipTakeIterator<TSource>(_source, _minIndexInclusive, _maxIndexInclusive); 41if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index < _source.Count - _minIndexInclusive) 53new IListSkipTakeSelectIterator<TSource, TResult>(_source, selector, _minIndexInclusive, _maxIndexInclusive); 58return (uint)minIndex > (uint)_maxIndexInclusive ? null : new IListSkipTakeIterator<TSource>(_source, minIndex, _maxIndexInclusive); 64return (uint)maxIndex >= (uint)_maxIndexInclusive ? this : new IListSkipTakeIterator<TSource>(_source, _minIndexInclusive, maxIndex); 69if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index < _source.Count - _minIndexInclusive) 97return _source[Math.Min(lastIndex, _maxIndexInclusive)]; 104public int Count => GetAdjustedCount(_minIndexInclusive, _maxIndexInclusive, _source.Count); 172return span.Slice(minInclusive, GetAdjustedCount(minInclusive, _maxIndexInclusive, span.Length)).IndexOf(item);