Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
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_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_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_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_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.

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft