System\Collections\Immutable\ImmutableHashSet_1.cs (15)
618HashBucket bucket = origin.Root.GetValueOrDefault(hashCode);
622return new MutationResult(origin.Root, 0);
625SortedInt32KeyNode<ImmutableHashSet<T>.HashBucket> newRoot = UpdateRoot(origin.Root, hashCode, origin.HashBucketEqualityComparer, newBucket);
638SortedInt32KeyNode<ImmutableHashSet<T>.HashBucket> newRoot = origin.Root;
639if (origin.Root.TryGetValue(hashCode, out bucket))
644return new MutationResult(origin.Root, 0);
647newRoot = UpdateRoot(origin.Root, hashCode, origin.HashBucketEqualityComparer, newBucket);
660if (origin.Root.TryGetValue(hashCode, out bucket))
676SortedInt32KeyNode<ImmutableHashSet<T>.HashBucket> newRoot = origin.Root;
699SortedInt32KeyNode<ImmutableHashSet<T>.HashBucket> newRoot = origin.Root;
723if (origin.Root.IsEmpty)
840foreach (T item in new NodeEnumerable(origin.Root))
870if (origin.Root.IsEmpty)
918if (origin.Root.IsEmpty)
943if (origin.Root.IsEmpty)