24 overrides of TryGetLast
System.Linq (24)
System\Linq\AppendPrepend.SpeedOpt.cs (1)
148
public override TSource?
TryGetLast
(out bool found)
System\Linq\Concat.SpeedOpt.cs (2)
141
public override TSource?
TryGetLast
(out bool found)
327
public override TSource?
TryGetLast
(out bool found)
System\Linq\DefaultIfEmpty.SpeedOpt.cs (1)
57
public override TSource?
TryGetLast
(out bool found)
System\Linq\OrderedEnumerable.SpeedOpt.cs (2)
192
public override TElement?
TryGetLast
(out bool found)
540
public override TElement?
TryGetLast
(out bool found) =>
System\Linq\Range.SpeedOpt.cs (1)
79
public override int
TryGetLast
(out bool found)
System\Linq\Repeat.SpeedOpt.cs (1)
78
public override TResult
TryGetLast
(out bool found)
System\Linq\Reverse.SpeedOpt.cs (1)
92
public override TSource?
TryGetLast
(out bool found)
System\Linq\Select.SpeedOpt.cs (7)
115
public override TResult?
TryGetLast
(out bool found)
227
public override TResult
TryGetLast
(out bool found)
355
public override TResult
TryGetLast
(out bool found)
451
public override TResult?
TryGetLast
(out bool found)
554
public override TResult?
TryGetLast
(out bool found)
657
public override TResult?
TryGetLast
(out bool found)
865
public override TResult?
TryGetLast
(out bool found)
System\Linq\SkipTake.SpeedOpt.cs (2)
91
public override TSource?
TryGetLast
(out bool found)
429
public override TSource?
TryGetLast
(out bool found)
System\Linq\Where.SpeedOpt.cs (6)
93
public override TSource?
TryGetLast
(out bool found)
240
public override TSource?
TryGetLast
(out bool found)
309
public override TSource?
TryGetLast
(out bool found)
443
public override TResult?
TryGetLast
(out bool found) => TryGetLast(_source, _predicate, _selector, out found);
498
public override TResult?
TryGetLast
(out bool found) => ArrayWhereSelectIterator<TSource, TResult>.TryGetLast(CollectionsMarshal.AsSpan(_source), _predicate, _selector, out found);
589
public override TResult?
TryGetLast
(out bool found)
5 references to TryGetLast
System.Linq (5)
System\Linq\Concat.SpeedOpt.cs (1)
343
return node._tail.
TryGetLast
(out found);
System\Linq\Last.cs (1)
73
source is Iterator<TSource> iterator ? iterator.
TryGetLast
(out found) :
System\Linq\Reverse.SpeedOpt.cs (1)
60
return iterator.
TryGetLast
(out found);
System\Linq\Select.SpeedOpt.cs (1)
660
TSource? input = _source.
TryGetLast
(out sourceFound);
System\Linq\SkipTake.SpeedOpt.cs (1)
436
iterator.
TryGetLast
(out found) :