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)
278public override int GetCount(bool onlyIfCheap) => ArrayWhereIterator<TSource>.GetCount(onlyIfCheap, CollectionsMarshal.AsSpan(_source), _predicate); 280public override TSource[] ToArray() => ArrayWhereIterator<TSource>.ToArray(CollectionsMarshal.AsSpan(_source), _predicate); 282public override List<TSource> ToList() => ArrayWhereIterator<TSource>.ToList(CollectionsMarshal.AsSpan(_source), _predicate); 286Func<TSource, bool> predicate = _predicate; 304Func<TSource, bool> predicate = _predicate; 323Func<TSource, bool> predicate = _predicate;