OpCode.Equals Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the current instance is equal to a specified object.
Overloads
| Equals(Object) | Tests whether the given object is equal to this  | 
| Equals(OpCode) | Indicates whether the current instance is equal to the specified OpCode. | 
Equals(Object)
- Source:
- Opcode.cs
- 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 -> boolPublic Overrides Function Equals (obj As Object) As BooleanParameters
- 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
- 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 -> boolPublic Function Equals (obj As OpCode) As BooleanParameters
Returns
true if the value of obj is equal to the value of the current instance; otherwise, false.