Code Inspection: Operator '==' or operator '!=' with 'Object.Equals(object o)' and 'Object.GetHashCode()' not overridden
This code inspection warns you about not overridden
GetHashCode() methods in types that override
!= operators. Overridden equality operators imply that value equality should be applied for objects of this type, whereas the default implementation of
GetHashCode() that the class inherits from
System.Object provide reference equality.
The inspection helps you detect the following compiler warnings before you compile:
Last modified: 30 September 2021