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

StackBehaviour Enumeration

Describes how values are pushed onto a stack or popped off a stack.

Namespace:  System.Reflection.Emit
Assemblies:   System.Reflection.Primitives (in System.Reflection.Primitives.dll)
  mscorlib (in mscorlib.dll)

public enum StackBehaviour

Member nameDescription
Pop0No values are popped off the stack.
Pop1Pops one value off the stack.
Pop1_pop1Pops 1 value off the stack for the first operand, and 1 value of the stack for the second operand.
PopiPops a 32-bit integer off the stack.
Popi_pop1Pops a 32-bit integer off the stack for the first operand, and a value off the stack for the second operand.
Popi_popiPops a 32-bit integer off the stack for the first operand, and a 32-bit integer off the stack for the second operand.
Popi_popi_popiPops a 32-bit integer off the stack for the first operand, a 32-bit integer off the stack for the second operand, and a 32-bit integer off the stack for the third operand.
Popi_popi8Pops a 32-bit integer off the stack for the first operand, and a 64-bit integer off the stack for the second operand.
Popi_popr4Pops a 32-bit integer off the stack for the first operand, and a 32-bit floating point number off the stack for the second operand.
Popi_popr8Pops a 32-bit integer off the stack for the first operand, and a 64-bit floating point number off the stack for the second operand.
PoprefPops a reference off the stack.
Popref_pop1Pops a reference off the stack for the first operand, and a value off the stack for the second operand.
Popref_popiPops a reference off the stack for the first operand, and a 32-bit integer off the stack for the second operand.
Popref_popi_pop1Pops a reference off the stack for the first operand, a value off the stack for the second operand, and a 32-bit integer off the stack for the third operand.
Popref_popi_popiPops a reference off the stack for the first operand, a value off the stack for the second operand, and a value off the stack for the third operand.
Popref_popi_popi8Pops a reference off the stack for the first operand, a value off the stack for the second operand, and a 64-bit integer off the stack for the third operand.
Popref_popi_popr4Pops a reference off the stack for the first operand, a value off the stack for the second operand, and a 32-bit integer off the stack for the third operand.
Popref_popi_popr8Pops a reference off the stack for the first operand, a value off the stack for the second operand, and a 64-bit floating point number off the stack for the third operand.
Popref_popi_poprefPops a reference off the stack for the first operand, a value off the stack for the second operand, and a reference off the stack for the third operand.
Push0No values are pushed onto the stack.
Push1Pushes one value onto the stack.
Push1_push1Pushes 1 value onto the stack for the first operand, and 1 value onto the stack for the second operand.
PushiPushes a 32-bit integer onto the stack.
Pushi8Pushes a 64-bit integer onto the stack.
Pushr4Pushes a 32-bit floating point number onto the stack.
Pushr8Pushes a 64-bit floating point number onto the stack.
PushrefPushes a reference onto the stack.
VarpopPops a variable off the stack.
VarpushPushes a variable onto the stack.

.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