System.Reflection.Emit.OpCodes.And Field

Computes the bitwise AND of two values and pushes the result onto the evaluation stack.

Syntax

public static readonly OpCode And

Remarks

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

5F

and

Determines the bitwise AND of two integer values.

The stack transitional behavior, in sequential order, is:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

The and instruction computes the bitwise AND of the top two values on the stack and leaves the result on the stack.

And is an integer-specific operation.

The following ILGenerator.Emit(OpCode) method overload can use the and opcode:

  • ILGenerator.Emit(OpCode)

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0