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

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

static TSource System.Linq.Enumerable.Last< TSource > ( this IEnumerable< TSource > source)
inlinestatic

Definition at line 5189 of file Enumerable.cs.

5190 {
5191 bool found;
5192 TSource result = source.TryGetLast(out found);
5193 if (!found)
5194 {
5195 ThrowHelper.ThrowNoElementsException();
5196 }
5197 return result;
5198 }

References System.Linq.source, and System.Linq.ThrowHelper.ThrowNoElementsException().