1
Vote

Indexer Set may fail if used with custom equality comparer

description

AbstractReversibleDictionary.set_Item uses the equality logic implemented in its elements using object.Equals(object,object). This will lead to a logical error if a subsclass of AbstractReversibleDictionary uses a custom equality comparer (such as an implementation of IEqualityComparer).

comments