1 write to _source
System.Linq (1)
System\Linq\Reverse.cs (1)
53_source = source;
14 references to _source
System.Linq (14)
System\Linq\Reverse.cs (2)
56private protected override Iterator<TSource> Clone() => new ReverseIterator<TSource>(_source); 77TSource[] buffer = _source.ToArray();
System\Linq\Reverse.SpeedOpt.cs (12)
14TSource[] array = _source.ToArray(); 21List<TSource> list = _source.ToList(); 27!onlyIfCheap ? _source.Count() : 28TryGetNonEnumeratedCount(_source, out int count) ? count : 33if (_source is IList<TSource> list) 44TSource[] array = _source.ToArray(); 58if (_source is Iterator<TSource> iterator) 62else if (_source is IList<TSource> list) 73using IEnumerator<TSource> e = _source.GetEnumerator(); 94if (_source is Iterator<TSource> iterator) 98else if (_source is IList<TSource> list) 108using IEnumerator<TSource> e = _source.GetEnumerator();