TICS Coding Standard Viewer
TIOBE Software Quality Framework
Home
|
Coding Rules
|
Categories
|
Literature
|
Change History
|
Generate PDF
|
Log in
Revision:
5.31
5.30
5.29
5.28
5.27
5.26
5.25
5.24
5.23
5.22
5.21
5.20
5.19
5.18
5.17
5.16
5.15
5.14
5.13
5.12
5.11
5.10
5.9
5.8
5.7
5.6
5.5
5.4
5.3
5.2
5.1
5.0 (Authorized)
4.4
4.3
4.2
4.1
4.0 (Authorized)
3.3
3.2
3.1
3.0 (Authorized)
2.5
2.4
2.3
2.2
2.1
2.0 (Authorized)
1.11
1.10
1.9
1.8
1.7
1.6
1.5
1.4
C# Coding Standard
Search
Rule: 7@525
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.