Export (0) Print
Expand All

OpCode Structure

Describes an intermediate language (IL) instruction.

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
<ComVisibleAttribute(True)> _
Public Structure OpCode

The OpCode type exposes the following members.

  NameDescription
Public propertyFlowControlThe flow control characteristics of the intermediate language (IL) instruction.
Public propertyNameThe name of the intermediate language (IL) instruction.
Public propertyOpCodeTypeThe type of intermediate language (IL) instruction.
Public propertyOperandTypeThe operand type of an intermediate language (IL) instruction.
Public propertySizeThe size of the intermediate language (IL) instruction.
Public propertyStackBehaviourPopHow the intermediate language (IL) instruction pops the stack.
Public propertyStackBehaviourPushHow the intermediate language (IL) instruction pushes operand onto the stack.
Public propertyValueGets the numeric value of the intermediate language (IL) instruction.
Top

  NameDescription
Public methodEquals(Object)Tests whether the given object is equal to this Opcode. (Overrides ValueType.Equals(Object).)
Public methodEquals(OpCode)Indicates whether the current instance is equal to the specified OpCode.
Public methodGetHashCodeReturns the generated hash code for this Opcode. (Overrides ValueType.GetHashCode.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns this Opcode as a String. (Overrides ValueType.ToString.)
Top

  NameDescription
Public operatorStatic memberEqualityIndicates whether two OpCode structures are equal.
Public operatorStatic memberInequalityIndicates whether two OpCode structures are not equal.
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft