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