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