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

Rule:  7@525Checked automatically with code checker

This rule is Obsolete
Synopsis:Override the Equals method on value types.
Language:C#
Severity Level:8
Category:Object oriented


Description:

This rule may sound odd at first, but has a very simple background:

    The default implementation of System.ValueType uses reflection (to access and compare all member fields) and, because of that, is usually unacceptably inefficient/slow.