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

◆ Add() [4/4]

void System.Collections.Generic.SortedDictionary< TKey, TValue >.Add ( TKey key,
TValue value )
inline

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

Definition at line 664 of file SortedDictionary.cs.

665 {
666 if (key == null)
667 {
668 throw new ArgumentNullException("key");
669 }
670 _set.Add(new KeyValuePair<TKey, TValue>(key, value));
671 }
void Add(TKey key, TValue value)
readonly TreeSet< KeyValuePair< TKey, TValue > > _set

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