3 instantiations of ArrayWhereIterator
System.Linq (3)
System\Linq\Where.cs (3)
36
return new
ArrayWhereIterator
<TSource>(array, predicate);
167
new
ArrayWhereIterator
<TSource>(_source, _predicate);
193
new
ArrayWhereIterator
<TSource>(_source, CombinePredicates(_predicate, predicate));
3 references to ArrayWhereIterator
System.Linq (3)
System\Linq\Where.SpeedOpt.cs (3)
286
public override int GetCount(bool onlyIfCheap) =>
ArrayWhereIterator
<TSource>.GetCount(onlyIfCheap, CollectionsMarshal.AsSpan(_source), _predicate);
288
public override TSource[] ToArray() =>
ArrayWhereIterator
<TSource>.ToArray(CollectionsMarshal.AsSpan(_source), _predicate);
290
public override List<TSource> ToList() =>
ArrayWhereIterator
<TSource>.ToList(CollectionsMarshal.AsSpan(_source), _predicate);