ABSTRACT

This looks like an effort to override a common .NET method, but it probably does not have the intended effect.

EXPLANATION

This method's name is similar to a common .NET method name, but it is either spelled incorrectly or the argument list causes it to not override the intended method.

Example 1: The following method is meant to override System.Object.Equals():


public boolean Equals(string obj) {
...
}


But since System.Object.Equals() takes an argument of type object, the method above is never called.

REFERENCES

[1] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 398