1 write to _minIndexInclusive
System.Linq (1)
System\Linq\OrderedEnumerable.SpeedOpt.cs (1)
455
_minIndexInclusive
= minIdxInclusive;
16 references to _minIndexInclusive
System.Linq (16)
System\Linq\OrderedEnumerable.SpeedOpt.cs (16)
459
private protected override Iterator<TElement> Clone() => new SkipTakeOrderedIterator<TElement>(_source,
_minIndexInclusive
, _maxIndexInclusive);
472
int i = state - 2 +
_minIndexInclusive
;
484
if (count >
_minIndexInclusive
)
492
if (
_minIndexInclusive
== _maxIdx)
494
_current = _source.GetEnumerableSorter().ElementAt(buffer, count,
_minIndexInclusive
);
499
_map = _source.SortedMap(buffer,
_minIndexInclusive
, _maxIdx);
512
int minIndex =
_minIndexInclusive
+ count;
518
int maxIndex =
_minIndexInclusive
+ count - 1;
524
return new SkipTakeOrderedIterator<TElement>(_source,
_minIndexInclusive
, maxIndex);
529
if ((uint)index <= (uint)(_maxIndexInclusive -
_minIndexInclusive
))
531
return _source.TryGetElementAt(index +
_minIndexInclusive
, out found);
538
public override TElement? TryGetFirst(out bool found) => _source.TryGetElementAt(
_minIndexInclusive
, out found);
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);