Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Pop Field
Collapse the table of content
Expand the table of content

OpCodes.Pop Field

Removes the value currently on top of the evaluation stack.

Namespace:  System.Reflection.Emit
Assemblies:   System.Reflection.Primitives (in System.Reflection.Primitives.dll)
  mscorlib (in mscorlib.dll)

public static readonly OpCode Pop

The following table lists the instruction's hexadecimal and Microsoft Intermediate Language (MSIL) assembly format, along with a brief reference summary:

Format

Assembly Format

Description

26

pop

Pops the top value from the stack.

The stack transitional behavior, in sequential order, is:

  1. The top value is popped from the stack.

The pop instruction removes the top element from the stack.

The following Emit method overload can use the pop opcode:

  • ILGenerator.Emit(OpCode)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Show:
© 2015 Microsoft