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

◆ RemoveRange() [5/7]

ImmutableArray< T > System.Collections.Immutable.ImmutableArray< T >.RemoveRange ( ImmutableArray< T > items,
IEqualityComparer< T >? equalityComparer )
inline

Definition at line 1231 of file ImmutableArray.cs.

1232 {
1233 ImmutableArray<T> result = this;
1234 Requires.NotNull(items.array, "items");
1235 if (items.IsEmpty)
1236 {
1237 result.ThrowNullRefIfNotInitialized();
1238 return result;
1239 }
1240 if (items.Length == 1)
1241 {
1242 return result.Remove(items[0], equalityComparer);
1243 }
1244 return result.RemoveRange(items.array, equalityComparer);
1245 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)

References System.Collections.Generic.Dictionary< TKey, TValue >.Remove().