The hash value of a collection depends on the elements contained in that
collection. If an element of the collection is changed. or a new element
is added, the hash value changes. As a result, if one of these
collections is contained in another hash-based object, such as
Dictionaries, (Equality) Bags, or (Equality) Sets, and an element in
that object is changed or added, you may not be able to find the
collection after the modification. For the same reason, if any
Dictionary is added to itself as a key, you may not be able to find it
afterwards, because its hash value will change as soon as it is added
to itself.
No workaround is available.
Last updated: