1 write to _source
System.Linq (1)
System\Linq\OrderedEnumerable.SpeedOpt.cs (1)
454
_source
= source;
12 references to _source
System.Linq (12)
System\Linq\OrderedEnumerable.SpeedOpt.cs (12)
459
private protected override Iterator<TElement> Clone() => new SkipTakeOrderedIterator<TElement>(
_source
, _minIndexInclusive, _maxIndexInclusive);
482
TElement[] buffer =
_source
._source.ToArray();
494
_current =
_source
.GetEnumerableSorter().ElementAt(buffer, count, _minIndexInclusive);
499
_map =
_source
.SortedMap(buffer, _minIndexInclusive, _maxIdx);
513
return (uint)minIndex > (uint)_maxIndexInclusive ? null : new SkipTakeOrderedIterator<TElement>(
_source
, minIndex, _maxIndexInclusive);
524
return new SkipTakeOrderedIterator<TElement>(
_source
, _minIndexInclusive, maxIndex);
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);