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)
459private protected override Iterator<TElement> Clone() => new SkipTakeOrderedIterator<TElement>(_source, _minIndexInclusive, _maxIndexInclusive); 482TElement[] buffer = _source._source.ToArray(); 494_current = _source.GetEnumerableSorter().ElementAt(buffer, count, _minIndexInclusive); 499_map = _source.SortedMap(buffer, _minIndexInclusive, _maxIdx); 513return (uint)minIndex > (uint)_maxIndexInclusive ? null : new SkipTakeOrderedIterator<TElement>(_source, minIndex, _maxIndexInclusive); 524return new SkipTakeOrderedIterator<TElement>(_source, _minIndexInclusive, maxIndex); 531return _source.TryGetElementAt(index + _minIndexInclusive, out found); 538public override TElement? TryGetFirst(out bool found) => _source.TryGetElementAt(_minIndexInclusive, out found); 541_source.TryGetLast(_minIndexInclusive, _maxIndexInclusive, out found); 543public override TElement[] ToArray() => _source.ToArray(_minIndexInclusive, _maxIndexInclusive); 545public override List<TElement> ToList() => _source.ToList(_minIndexInclusive, _maxIndexInclusive); 547public override int GetCount(bool onlyIfCheap) => _source.GetCount(_minIndexInclusive, _maxIndexInclusive, onlyIfCheap);