Edit

Share via


OpCode.Equals Method

Definition

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

Overloads

Equals(Object)

Tests whether the given object is equal to this Opcode.

Equals(OpCode)

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

Equals(Object)

Source:
Opcode.cs
Source:
Opcode.cs
Source:
Opcode.cs

Tests whether the given object is equal to this Opcode.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (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

The object to compare to this object.

Returns

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

Applies to

Equals(OpCode)

Source:
Opcode.cs
Source:
Opcode.cs
Source:
Opcode.cs

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

public:
 bool Equals(System::Reflection::Emit::OpCode obj);
public:
 virtual 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

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.

Implements

Applies to