Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OperandType Enumeration

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

Namespace:  System.Reflection.Emit
Assemblies:   mscorlib (in mscorlib.dll)
  System.Reflection.Primitives (in System.Reflection.Primitives.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