1 write to _predicate
System.Linq (1)
System\Linq\Where.cs (1)
211_predicate = predicate;
10 references to _predicate
System.Linq (10)
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 (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); 294Func<TSource, bool> predicate = _predicate; 312Func<TSource, bool> predicate = _predicate; 331Func<TSource, bool> predicate = _predicate;