Change the semantics of wrapping bare IComparer<T> types from "if you use GetHashCode without implementing it, we'll throw NotImplementedException at the time GetHashCode is called" to "you must implement GetHashCode; otherwise an exception is thrown at construction time".
Change the semantics of wrapping bare
IComparer<T>
types from "if you useGetHashCode
without implementing it, we'll throwNotImplementedException
at the timeGetHashCode
is called" to "you must implementGetHashCode
; otherwise an exception is thrown at construction time".Note that this is a breaking change.