TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
C# Coding Standard

Rule:  7@520Checked automatically with code checker

Synopsis:Override the GetHashCode method whenever you override the Equals method.
Severity Level:1
Category:Object oriented

You must guarantee that for two objects considered equal, according the Equals method, the GetHashCode method returns the same value.

Literature References:
MS Design Guidelines for Implementing Equals and the Equality Operator (==)