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

◆ Remove()

HashBucket System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.HashBucket.Remove ( TKey key,
IEqualityComparer< KeyValuePair< TKey, TValue > > keyOnlyComparer,
out OperationResult result )
inlinepackage

Definition at line 806 of file ImmutableDictionary.cs.

807 {
808 if (IsEmpty)
809 {
810 result = OperationResult.NoChangeRequired;
811 return this;
812 }
815 {
817 {
818 result = OperationResult.SizeChanged;
819 return default(HashBucket);
820 }
822 result = OperationResult.SizeChanged;
824 }
826 if (num < 0)
827 {
828 result = OperationResult.NoChangeRequired;
829 return this;
830 }
831 result = OperationResult.SizeChanged;
833 }
ImmutableList< T > RemoveAt(int index)
int IndexOf(T item, int index, int count, IEqualityComparer< T >? equalityComparer)
readonly ImmutableList< KeyValuePair< TKey, TValue > >.Node _additionalElements
HashBucket(KeyValuePair< TKey, TValue > firstElement, ImmutableList< KeyValuePair< TKey, TValue > >.Node additionalElements=null)

References System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.HashBucket.HashBucket(), System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.HashBucket._additionalElements, System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.HashBucket._firstValue, System.Collections.Immutable.ImmutableList< T >.Count, System.count, System.Collections.Immutable.ImmutableList< T >.IndexOf(), System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.HashBucket.IsEmpty, System.Collections.Immutable.ImmutableList< T >.IsEmpty, System.key, and System.Collections.Immutable.ImmutableList< T >.RemoveAt().