1 write to _predicate
System.Linq (1)
System\Linq\Where.cs (1)
211_predicate = predicate;
11 references to _predicate
System.Linq (11)
System\Linq\Where.cs (4)
215new ListWhereIterator<TSource>(_source, _predicate); 229if (_predicate(item)) 244new ListWhereSelectIterator<TSource, TResult>(_source, _predicate, selector); 247new ListWhereIterator<TSource>(_source, CombinePredicates(_predicate, predicate));
System\Linq\Where.SpeedOpt.cs (7)
316public override int GetCount(bool onlyIfCheap) => ArrayWhereIterator<TSource>.GetCount(onlyIfCheap, CollectionsMarshal.AsSpan(_source), _predicate); 318public override TSource[] ToArray() => ArrayWhereIterator<TSource>.ToArray(CollectionsMarshal.AsSpan(_source), _predicate); 320public override List<TSource> ToList() => ArrayWhereIterator<TSource>.ToList(CollectionsMarshal.AsSpan(_source), _predicate); 324Func<TSource, bool> predicate = _predicate; 342Func<TSource, bool> predicate = _predicate; 361Func<TSource, bool> predicate = _predicate; 384Func<TSource, bool> predicate = _predicate;