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

◆ Min() [7/10]

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

Definition at line 6317 of file Enumerable.cs.

6318 {
6319 if (source == null)
6320 {
6321 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.source);
6322 }
6324 if (!enumerator.MoveNext())
6325 {
6326 ThrowHelper.ThrowNoElementsException();
6327 }
6328 int num = enumerator.Current;
6329 while (enumerator.MoveNext())
6330 {
6331 int current = enumerator.Current;
6332 if (current < num)
6333 {
6334 num = current;
6335 }
6336 }
6337 return num;
6338 }

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