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