OpCode Structure
.NET Framework 4.5
Describes a Microsoft intermediate language (MSIL) instruction.
Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
The OpCode type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | FlowControl | The flow control characteristics of the Microsoft intermediate language (MSIL) instruction. |
![]() ![]() | Name | The name of the Microsoft intermediate language (MSIL) instruction. |
![]() ![]() | OpCodeType | The type of Microsoft intermediate language (MSIL) instruction. |
![]() ![]() | OperandType | The operand type of an Microsoft intermediate language (MSIL) instruction. |
![]() ![]() | Size | The size of the Microsoft intermediate language (MSIL) instruction. |
![]() ![]() | StackBehaviourPop | How the Microsoft intermediate language (MSIL) instruction pops the stack. |
![]() ![]() | StackBehaviourPush | How the Microsoft intermediate language (MSIL) instruction pushes operand onto the stack. |
![]() ![]() | Value | The value of the immediate operand of the Microsoft intermediate language (MSIL) instruction. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equals(Object) | Tests whether the given object is equal to this Opcode. (Overrides ValueType.Equals(Object).) |
![]() ![]() | Equals(OpCode) | Indicates whether the current instance is equal to the specified OpCode. |
![]() ![]() | GetHashCode | Returns the generated hash code for this Opcode. (Overrides ValueType.GetHashCode().) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | ToString | Returns this Opcode as a String. (Overrides ValueType.ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Equality | Indicates whether two OpCode structures are equal. |
![]() ![]() ![]() | Inequality | Indicates whether two OpCode structures are not equal. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

