1 write to _source
System.Linq (1)
System\Linq\Select.SpeedOpt.cs (1)
583
_source
= source;
19 references to _source
System.Linq (19)
System\Linq\Select.SpeedOpt.cs (19)
588
new IteratorSelectIterator<TSource, TResult>(
_source
, _selector);
595
_enumerator =
_source
.GetEnumerator();
625
new IteratorSelectIterator<TSource, TResult2>(
_source
, CombineSelectors(_selector, selector));
630
Iterator<TSource>? source =
_source
.Skip(count);
637
Iterator<TSource>? source =
_source
.Take(count);
644
TSource? input =
_source
.TryGetElementAt(index, out sourceFound);
652
TSource? input =
_source
.TryGetFirst(out sourceFound);
660
TSource? input =
_source
.TryGetLast(out sourceFound);
667
Debug.Assert(
_source
.GetCount(onlyIfCheap: true) == -1);
673
foreach (TSource input in
_source
)
687
Debug.Assert(count ==
_source
.GetCount(onlyIfCheap: true));
690
Fill(
_source
, array, _selector);
696
int count =
_source
.GetCount(onlyIfCheap: true);
707
Debug.Assert(
_source
.GetCount(onlyIfCheap: true) == -1);
713
foreach (TSource input in
_source
)
726
int count =
_source
.GetCount(onlyIfCheap: true);
738
Fill(
_source
, SetCountAndGetSpan(list, count), _selector);
766
foreach (TSource item in
_source
)
775
return
_source
.GetCount(onlyIfCheap);