Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Last< TSource >() [2/2]

static TSource System.Linq.Enumerable.Last< TSource > ( this IEnumerable< TSource > source,
Func< TSource, bool > predicate )
inlinestatic

Definition at line 5200 of file Enumerable.cs.

5201 {
5202 bool found;
5203 TSource result = source.TryGetLast(predicate, out found);
5204 if (!found)
5205 {
5206 ThrowHelper.ThrowNoMatchException();
5207 }
5208 return result;
5209 }

References System.Linq.predicate, System.Linq.source, and System.Linq.ThrowHelper.ThrowNoMatchException().