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

◆ ImmutableSortedDictionary() [2/2]

System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >.ImmutableSortedDictionary ( Node root,
int count,
IComparer< TKey > keyComparer,
IEqualityComparer< TValue > valueComparer )
inlineprivate

Definition at line 1115 of file ImmutableSortedDictionary.cs.

1116 {
1117 Requires.NotNull(root, "root");
1118 Requires.Range(count >= 0, "count");
1119 Requires.NotNull(keyComparer, "keyComparer");
1120 Requires.NotNull(valueComparer, "valueComparer");
1121 root.Freeze();
1122 _root = root;
1123 _count = count;
1124 _keyComparer = keyComparer;
1126 }

References System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >._count, System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >._keyComparer, System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >._root, System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >._valueComparer, System.count, System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >.Node.Freeze(), and System.Collections.Immutable.Requires.Range().