NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StackBehaviour Enumeration

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

[Visual Basic]
Public Enum StackBehaviour
[C#]
public enum StackBehaviour
[C++]
public enum StackBehaviour

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Members

Member Name Description
Pop0 No values are popped off the stack.
Pop1 Pop one value of the stack.
Pop1_pop1 Pop 1 value of the stack for the first operand, and 1 value of the stack for the second operand.
Popi Pop a 32-bit integer off the stack.
Popi_pop1 Pop a 32-bit integer of the stack for the first operand, and a value of the stack for the second operand.
Popi_popi Pop a 32-bit integer of the stack for the first operand, and a 32-bit integer of the stack for the second operand.
Popi_popi8 Pop a 32-bit integer of the stack for the first operand, and a 64-bit integer of the stack for the second operand.
Popi_popi_popi Pop a 32-bit integer of the stack for the first operand, a 32-bit integer of the stack for the second operand, and a 32-bit integer of the stack for the third operand.
Popi_popr4 Pop a 32-bit integer of the stack for the first operand, and a 32-bit floating point number of the stack for the second operand.
Popi_popr8 Pop a 32-bit integer of the stack for the first operand, and a 64-bit floating point number of the stack for the second operand.
Popref Pop a reference of the stack.
Popref_pop1 Pop a reference of the stack for the first operand, and a value of the stack for the second operand.
Popref_popi Pop a reference of the stack for the first operand, and a 32-bit integer of the stack for the second operand.
Popref_popi_popi Pop a reference of the stack for the first operand, a value of the stack for the second operand, and a value of the stack for the third operand.
Popref_popi_popi8 Pop a reference of the stack for the first operand, a value of the stack for the second operand, and a 64-bit integer of the stack for the third operand.
Popref_popi_popr4 Pop a reference of the stack for the first operand, a value of the stack for the second operand, and a 32-bit integer of the stack for the third operand.
Popref_popi_popr8 Pop a reference of the stack for the first operand, a value of the stack for the second operand, and a 64-bit floating point number of the stack for the third operand.
Popref_popi_popref Pop a reference of the stack for the first operand, a value of the stack for the second operand, and a reference of the stack for the third operand.
Push0 No values are pushed onto the stack.
Push1 Pop one value onto the stack.
Push1_push1 Push 1 value onto the stack for the first operand, and 1 value onto the stack for the second operand.
Pushi Push a 32-bit integer onto the stack.
Pushi8 Push a 64-bit integer onto the stack.
Pushr4 Push a 32-bit floating point number onto the stack.
Pushr8 Push a 64-bit floating point number onto the stack.
Pushref Push a reference onto the stack.
Varpop Pop a variable off the stack.
Varpush Push a variable onto the stack.

Requirements

Namespace: System.Reflection.Emit

Assembly: mscorlib.dll

See Also

System.Reflection.Emit Namespace