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

◆ ContainsKey()

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

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

Definition at line 678 of file SortedDictionary.cs.

679 {
680 if (key == null)
681 {
682 throw new ArgumentNullException("key");
683 }
684 return _set.Contains(new KeyValuePair<TKey, TValue>(key, default(TValue)));
685 }
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
readonly TreeSet< KeyValuePair< TKey, TValue > > _set

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

Referenced by System.Collections.Generic.SortedDictionary< TKey, TValue >.Contains().