This topic has not yet been rated - Rate this topic

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 name Description
Pop0 No values are popped off the stack.
Pop1 Pops one value off the stack.
Pop1_pop1 Pops 1 value off the stack for the first operand, and 1 value of the stack for the second operand.
Popi Pops a 32-bit integer off the stack.
Popi_pop1 Pops a 32-bit integer off the stack for the first operand, and a value off the stack for the second operand.
Popi_popi Pops a 32-bit integer off the stack for the first operand, and a 32-bit integer off the stack for the second operand.
Popi_popi8 Pops 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_popi Pops 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_popr4 Pops 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_popr8 Pops 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.
Popref Pops a reference off the stack.
Popref_pop1 Pops a reference off the stack for the first operand, and a value off the stack for the second operand.
Popref_popi Pops a reference off the stack for the first operand, and a 32-bit integer off the stack for the second operand.
Popref_popi_popi Pops 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_popi8 Pops 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_popr4 Pops 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_popr8 Pops 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_popref Pops 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.
Push0 No values are pushed onto the stack.
Push1 Pushes one value onto the stack.
Push1_push1 Pushes 1 value onto the stack for the first operand, and 1 value onto the stack for the second operand.
Pushi Pushes a 32-bit integer onto the stack.
Pushi8 Pushes a 64-bit integer onto the stack.
Pushr4 Pushes a 32-bit floating point number onto the stack.
Pushr8 Pushes a 64-bit floating point number onto the stack.
Pushref Pushes a reference onto the stack.
Varpop Pops a variable off the stack.
Varpush Pushes a variable onto the stack.
Popref_popi_pop1 Pops 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.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ