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

◆ SortedList() [2/6]

System.Collections.SortedList.SortedList ( int initialCapacity)
inline

Definition at line 660 of file SortedList.cs.

661 {
662 if (initialCapacity < 0)
663 {
664 throw new ArgumentOutOfRangeException("initialCapacity", System.SR.ArgumentOutOfRange_NeedNonNegNum);
665 }
666 keys = new object[initialCapacity];
667 values = new object[initialCapacity];
668 comparer = new Comparer(CultureInfo.CurrentCulture);
669 }
static CultureInfo CurrentCulture
static string ArgumentOutOfRange_NeedNonNegNum
Definition SR.cs:32
Definition SR.cs:7

References System.SR.ArgumentOutOfRange_NeedNonNegNum, System.Collections.SortedList.comparer, System.Globalization.CultureInfo.CurrentCulture, System.Collections.SortedList.keys, and System.Collections.SortedList.values.