System.Reflection.Emit.MethodBuilder.Equals Method

Determines whether the given object is equal to this instance.

Syntax

public override bool Equals (object obj)

Parameters

obj
The object to compare with this MethodBuilder instance.

Returns

true if obj is an instance of MethodBuilder and is equal to this object; otherwise, false.

Remarks

Equality is determined by having the same name, attributes, and signature.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0