Export (0) Print
Expand All

StackBehaviour Enumeration

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

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

[SerializableAttribute]
[ComVisibleAttribute(true)]
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_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_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_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_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.
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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft