Indicates whether this instance is equal to a specified object.
Syntax
[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)]
public override
bool Equals (
object obj)
Parameters
- obj
-
A object to compare to this instance.
Returns
true if obj is a RuntimeMethodHandle and equal to the value of this instance; otherwise, false.
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0