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