3 instantiations of ArrayWhereIterator
System.Linq (3)
System\Linq\Where.cs (3)
36return new ArrayWhereIterator<TSource>(array, predicate); 167new ArrayWhereIterator<TSource>(_source, _predicate); 193new ArrayWhereIterator<TSource>(_source, CombinePredicates(_predicate, predicate));
3 references to ArrayWhereIterator
System.Linq (3)
System\Linq\Where.SpeedOpt.cs (3)
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);