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

◆ AddRange() [4/4]

ImmutableDictionary< TKey, TValue > System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.AddRange ( IEnumerable< KeyValuePair< TKey, TValue > > pairs,
bool avoidToHashMap )
inlineprivate

Definition at line 1509 of file ImmutableDictionary.cs.

1510 {
1511 Requires.NotNull(pairs, "pairs");
1513 {
1514 return other.WithComparers(KeyComparer, ValueComparer);
1515 }
1516 return AddRange(pairs, Origin).Finalize(this);
1517 }
ImmutableDictionary< TKey, TValue > AddRange(IEnumerable< KeyValuePair< TKey, TValue > > pairs)
static bool TryCastToImmutableMap(IEnumerable< KeyValuePair< TKey, TValue > > sequence, [NotNullWhen(true)] out ImmutableDictionary< TKey, TValue > other)

References System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.AddRange(), System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.IsEmpty, System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.KeyComparer, System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.Origin, System.other, System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.TryCastToImmutableMap(), and System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.ValueComparer.