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

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

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

Definition at line 4829 of file Enumerable.cs.

4830 {
4831 bool found;
4832 TSource result = source.TryGetFirst(out found);
4833 if (!found)
4834 {
4835 ThrowHelper.ThrowNoElementsException();
4836 }
4837 return result;
4838 }

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