This documentation is archived and is not being maintained.

StackBehaviour Enumeration

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

[Visual Basic]
<Serializable>
Public Enum StackBehaviour
[C#]
[Serializable]
public enum StackBehaviour
[C++]
[Serializable]
__value public enum StackBehaviour
[JScript]
public
   Serializable
enum StackBehaviour

Members

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.

Requirements

Namespace: System.Reflection.Emit

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

System.Reflection.Emit Namespace

Show: