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)
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
)];
104
public int Count => GetAdjustedCount(_minIndexInclusive,
_maxIndexInclusive
, _source.Count);
172
return span.Slice(minInclusive, GetAdjustedCount(minInclusive,
_maxIndexInclusive
, span.Length)).IndexOf(item);