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

◆ Remove() [5/5]

ImmutableSortedDictionary< TKey, TValue > System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >.Remove ( TKey value)
inline

Implements System.Collections.Immutable.IImmutableDictionary< TKey, TValue >.

Definition at line 1182 of file ImmutableSortedDictionary.cs.

1183 {
1184 Requires.NotNullAllowStructs(value, "value");
1185 bool mutated;
1187 return Wrap(root, _count - 1);
1188 }
Node Remove(TKey key, IComparer< TKey > keyComparer, out bool mutated)
static ImmutableSortedDictionary< TKey, TValue > Wrap(Node root, int count, IComparer< TKey > keyComparer, IEqualityComparer< TValue > valueComparer)

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 >.Node.Remove(), System.value, and System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >.Wrap().