1 write to _source
System.Linq (1)
System\Linq\Where.cs (1)
210
_source
= source;
10 references to _source
System.Linq (10)
System\Linq\Where.cs (4)
215
new ListWhereIterator<TSource>(
_source
, _predicate);
222
_enumerator =
_source
.GetEnumerator();
244
new ListWhereSelectIterator<TSource, TResult>(
_source
, _predicate, selector);
247
new ListWhereIterator<TSource>(
_source
, CombinePredicates(_predicate, predicate));
System\Linq\Where.SpeedOpt.cs (6)
286
public override int GetCount(bool onlyIfCheap) => ArrayWhereIterator<TSource>.GetCount(onlyIfCheap, CollectionsMarshal.AsSpan(
_source
), _predicate);
288
public override TSource[] ToArray() => ArrayWhereIterator<TSource>.ToArray(CollectionsMarshal.AsSpan(
_source
), _predicate);
290
public override List<TSource> ToList() => ArrayWhereIterator<TSource>.ToList(CollectionsMarshal.AsSpan(
_source
), _predicate);
296
foreach (TSource item in CollectionsMarshal.AsSpan(
_source
))
311
ReadOnlySpan<TSource> source = CollectionsMarshal.AsSpan(
_source
);
333
foreach (TSource item in CollectionsMarshal.AsSpan(
_source
))