1 write to _maxIndexInclusive
System.Linq (1)
System\Linq\OrderedEnumerable.SpeedOpt.cs (1)
456
_maxIndexInclusive
= maxIdxInclusive;
10 references to _maxIndexInclusive
System.Linq (10)
System\Linq\OrderedEnumerable.SpeedOpt.cs (10)
459
private protected override Iterator<TElement> Clone() => new SkipTakeOrderedIterator<TElement>(_source, _minIndexInclusive,
_maxIndexInclusive
);
486
_maxIdx =
_maxIndexInclusive
;
513
return (uint)minIndex > (uint)
_maxIndexInclusive
? null : new SkipTakeOrderedIterator<TElement>(_source, minIndex,
_maxIndexInclusive
);
519
if ((uint)maxIndex >= (uint)
_maxIndexInclusive
)
529
if ((uint)index <= (uint)(
_maxIndexInclusive
- _minIndexInclusive))
541
_source.TryGetLast(_minIndexInclusive,
_maxIndexInclusive
, out found);
543
public override TElement[] ToArray() => _source.ToArray(_minIndexInclusive,
_maxIndexInclusive
);
545
public override List<TElement> ToList() => _source.ToList(_minIndexInclusive,
_maxIndexInclusive
);
547
public override int GetCount(bool onlyIfCheap) => _source.GetCount(_minIndexInclusive,
_maxIndexInclusive
, onlyIfCheap);