OpCode.Equals OpCode.Equals OpCode.Equals OpCode.Equals Method

Definition

Indicates whether the current instance is equal to a specified object.

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Tests whether the given object is equal to this Opcode.

Equals(OpCode) Equals(OpCode) Equals(OpCode) Equals(OpCode)

Indicates whether the current instance is equal to the specified OpCode.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Tests whether the given object is equal to this Opcode.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object Object Object Object

The object to compare to this object.

Returns

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

Equals(OpCode) Equals(OpCode) Equals(OpCode) Equals(OpCode)

Indicates whether the current instance is equal to the specified OpCode.

public:
 bool Equals(System::Reflection::Emit::OpCode obj);
public bool Equals (System.Reflection.Emit.OpCode obj);
override this.Equals : System.Reflection.Emit.OpCode -> bool
Public Function Equals (obj As OpCode) As Boolean

Parameters

obj
OpCode OpCode OpCode OpCode

The OpCode to compare to the current instance.

Returns

true if the value of obj is equal to the value of the current instance; otherwise, false.

Applies to