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

◆ Min() [9/10]

static long System.Linq.Enumerable.Min ( this IEnumerable< long > source)
inlinestatic

Definition at line 6371 of file Enumerable.cs.

6372 {
6373 if (source == null)
6374 {
6375 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.source);
6376 }
6378 if (!enumerator.MoveNext())
6379 {
6380 ThrowHelper.ThrowNoElementsException();
6381 }
6382 long num = enumerator.Current;
6383 while (enumerator.MoveNext())
6384 {
6385 long current = enumerator.Current;
6386 if (current < num)
6387 {
6388 num = current;
6389 }
6390 }
6391 return num;
6392 }

References System.Collections.Generic.Dictionary< TKey, TValue >.GetEnumerator(), System.Linq.source, System.Linq.ThrowHelper.ThrowArgumentNullException(), and System.Linq.ThrowHelper.ThrowNoElementsException().