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

◆ Remove() [4/4]

bool System.Collections.Generic.SortedDictionary< TKey, TValue >.Remove ( TKey key)
inline

Implements System.Collections.Generic.IDictionary< TKey, TValue >.

Definition at line 734 of file SortedDictionary.cs.

735 {
736 if (key == null)
737 {
738 throw new ArgumentNullException("key");
739 }
740 return _set.Remove(new KeyValuePair<TKey, TValue>(key, default(TValue)));
741 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
readonly TreeSet< KeyValuePair< TKey, TValue > > _set

References System.Collections.Generic.SortedDictionary< TKey, TValue >._set, System.key, and System.Collections.Generic.Dictionary< TKey, TValue >.Remove().