24 overrides of TryGetElementAt
System.Linq (24)
System\Linq\AppendPrepend.SpeedOpt.cs (1)
163public override TSource? TryGetElementAt(int index, out bool found)
System\Linq\Concat.SpeedOpt.cs (2)
93public override TSource? TryGetElementAt(int index, out bool found) 273public override TSource? TryGetElementAt(int index, out bool found)
System\Linq\DefaultIfEmpty.SpeedOpt.cs (1)
69public override TSource? TryGetElementAt(int index, out bool found)
System\Linq\OrderedEnumerable.SpeedOpt.cs (2)
144public override TElement? TryGetElementAt(int index, out bool found) 527public override TElement? TryGetElementAt(int index, out bool found)
System\Linq\Range.SpeedOpt.cs (1)
61public override int TryGetElementAt(int index, out bool found)
System\Linq\Repeat.SpeedOpt.cs (1)
60public override TResult? TryGetElementAt(int index, out bool found)
System\Linq\Reverse.SpeedOpt.cs (1)
31public override TSource? TryGetElementAt(int index, out bool found)
System\Linq\Select.SpeedOpt.cs (7)
74public override TResult? TryGetElementAt(int index, out bool found) 206public override TResult? TryGetElementAt(int index, out bool found) 336public override TResult? TryGetElementAt(int index, out bool found) 427public override TResult? TryGetElementAt(int index, out bool found) 530public override TResult? TryGetElementAt(int index, out bool found) 641public override TResult? TryGetElementAt(int index, out bool found) 841public override TResult? TryGetElementAt(int index, out bool found)
System\Linq\SkipTake.SpeedOpt.cs (2)
67public override TSource? TryGetElementAt(int index, out bool found) 381public override TSource? TryGetElementAt(int index, out bool found)
System\Linq\Where.SpeedOpt.cs (6)
128public override TSource? TryGetElementAt(int index, out bool found) 258public override TSource? TryGetElementAt(int index, out bool found) 327public override TSource? TryGetElementAt(int index, out bool found) 460public override TResult? TryGetElementAt(int index, out bool found) => TryGetElementAt(_source, _predicate, _selector, index, out found); 494public override TResult? TryGetElementAt(int index, out bool found) => ArrayWhereSelectIterator<TSource, TResult>.TryGetElementAt(CollectionsMarshal.AsSpan(_source), _predicate, _selector, index, out found); 624public override TResult? TryGetElementAt(int index, out bool found)
7 references to TryGetElementAt
System.Linq (7)
System\Linq\AppendPrepend.SpeedOpt.cs (1)
177return base.TryGetElementAt(index, out found);
System\Linq\ElementAt.cs (2)
27source is Iterator<TSource> iterator ? iterator.TryGetElementAt(index, out found) : 127source is Iterator<TSource> iterator ? iterator.TryGetElementAt(index, out found) :
System\Linq\Select.SpeedOpt.cs (1)
644TSource? input = _source.TryGetElementAt(index, out sourceFound);
System\Linq\SkipTake.SpeedOpt.cs (3)
390return iterator.TryGetElementAt(_minIndexInclusive + index, out found); 413return iterator.TryGetElementAt(_minIndexInclusive, out found); 437iterator.TryGetElementAt(_maxIndexInclusive, out found);