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

◆ Dictionary() [6/9]

System.Collections.Generic.Dictionary< TKey, TValue >.Dictionary ( IDictionary< TKey, TValue > dictionary,
IEqualityComparer< TKey >? comparer )
inline

Definition at line 812 of file Dictionary.cs.

813 : this(dictionary?.Count ?? 0, comparer)
814 {
815 if (dictionary == null)
816 {
817 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.dictionary);
818 }
820 }
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)

References System.Collections.Generic.Dictionary< TKey, TValue >.AddRange(), System.dictionary, and System.ThrowHelper.ThrowArgumentNullException().