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
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public enum StackBehaviour
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_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. 

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft