4 references to UpdateRoot
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableDictionary_2.cs (4)
368root = UpdateRoot(root, hashCode, newBucket, _comparers.HashBucketEqualityComparer);
943SortedInt32KeyNode<ImmutableDictionary<TKey, TValue>.HashBucket> newRoot = UpdateRoot(origin.Root, hashCode, newBucket, origin.HashBucketComparer);
963newRoot = UpdateRoot(newRoot, hashCode, newBucket, origin.HashBucketComparer);
983SortedInt32KeyNode<ImmutableDictionary<TKey, TValue>.HashBucket> newRoot = UpdateRoot(origin.Root, hashCode, bucket.Remove(key, origin.KeyOnlyComparer, out result), origin.HashBucketComparer);