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

◆ Sum() [5/10]

static float System.Linq.Enumerable.Sum ( this IEnumerable< float > source)
inlinestatic

Definition at line 7795 of file Enumerable.cs.

7796 {
7797 if (source == null)
7798 {
7799 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.source);
7800 }
7801 double num = 0.0;
7802 foreach (float item in source)
7803 {
7804 num += (double)item;
7805 }
7806 return (float)num;
7807 }

References System.item, System.Linq.source, and System.Linq.ThrowHelper.ThrowArgumentNullException().