OpCode Structure

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Describes an intermediate language (IL) instruction.

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

[ComVisibleAttribute(true)]
public struct OpCode

NameDescription
System_CAPS_pubpropertyFlowControl

The flow control characteristics of the intermediate language (IL) instruction.

System_CAPS_pubpropertyName

The name of the intermediate language (IL) instruction.

System_CAPS_pubpropertyOpCodeType

The type of intermediate language (IL) instruction.

System_CAPS_pubpropertyOperandType

The operand type of an intermediate language (IL) instruction.

System_CAPS_pubpropertySize

The size of the intermediate language (IL) instruction.

System_CAPS_pubpropertyStackBehaviourPop

How the intermediate language (IL) instruction pops the stack.

System_CAPS_pubpropertyStackBehaviourPush

How the intermediate language (IL) instruction pushes operand onto the stack.

System_CAPS_pubpropertyValue

Gets the numeric value of the intermediate language (IL) instruction.

NameDescription
System_CAPS_pubmethodEquals(Object)

Tests whether the given object is equal to this Opcode.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(OpCode)

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

System_CAPS_pubmethodGetHashCode()

Returns the generated hash code for this Opcode.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns this Opcode as a String.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(OpCode, OpCode)

Indicates whether two OpCode structures are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(OpCode, OpCode)

Indicates whether two OpCode structures are not equal.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Windows Phone
Available since 8.1

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

Return to top
Show: