4 instantiations of ArrayWhereSelectIterator
System.Linq (4)
System\Linq\OfType.SpeedOpt.cs (1)
171new ArrayWhereSelectIterator<object, TResult2>(array, isTResult, localSelector) :
System\Linq\Where.cs (3)
190new ArrayWhereSelectIterator<TSource, TResult>(_source, _predicate, selector); 272new ArrayWhereSelectIterator<TSource, TResult>(_source, _predicate, _selector); 295new ArrayWhereSelectIterator<TSource, TResult2>(_source, _predicate, CombineSelectors(_selector, selector));
6 references to ArrayWhereSelectIterator
System.Linq (6)
System\Linq\Where.SpeedOpt.cs (6)
488public override int GetCount(bool onlyIfCheap) => ArrayWhereSelectIterator<TSource, TResult>.GetCount(onlyIfCheap, CollectionsMarshal.AsSpan(_source), _predicate, _selector); 490public override TResult[] ToArray() => ArrayWhereSelectIterator<TSource, TResult>.ToArray(CollectionsMarshal.AsSpan(_source), _predicate, _selector); 492public override List<TResult> ToList() => ArrayWhereSelectIterator<TSource, TResult>.ToList(CollectionsMarshal.AsSpan(_source), _predicate, _selector); 494public override TResult? TryGetElementAt(int index, out bool found) => ArrayWhereSelectIterator<TSource, TResult>.TryGetElementAt(CollectionsMarshal.AsSpan(_source), _predicate, _selector, index, out found); 496public override TResult? TryGetFirst(out bool found) => ArrayWhereSelectIterator<TSource, TResult>.TryGetFirst(CollectionsMarshal.AsSpan(_source), _predicate, _selector, out found); 498public override TResult? TryGetLast(out bool found) => ArrayWhereSelectIterator<TSource, TResult>.TryGetLast(CollectionsMarshal.AsSpan(_source), _predicate, _selector, out found);