Export (0) Print
Expand All

OperandType Enumeration

Describes the operand type of Microsoft intermediate language (MSIL) instruction.

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

[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum OperandType

Member nameDescription
InlineBrTargetThe operand is a 32-bit integer branch target.
InlineFieldThe operand is a 32-bit metadata token.
InlineIThe operand is a 32-bit integer.
InlineI8The operand is a 64-bit integer.
InlineMethodThe operand is a 32-bit metadata token.
InlineNoneNo operand.
InlinePhi Obsolete. The operand is reserved and should not be used.
InlineRThe operand is a 64-bit IEEE floating point number.
InlineSigThe operand is a 32-bit metadata signature token.
InlineStringThe operand is a 32-bit metadata string token.
InlineSwitchThe operand is the 32-bit integer argument to a switch instruction.
InlineTokThe operand is a FieldRef, MethodRef, or TypeRef token.
InlineTypeThe operand is a 32-bit metadata token.
InlineVarThe operand is 16-bit integer containing the ordinal of a local variable or an argument.
ShortInlineBrTargetThe operand is an 8-bit integer branch target.
ShortInlineIThe operand is an 8-bit integer.
ShortInlineRThe operand is a 32-bit IEEE floating point number.
ShortInlineVarThe operand is an 8-bit integer containing the ordinal of a local variable or an argumenta.

.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
Show:
© 2015 Microsoft