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