OpCode 结构

定义

介绍中间语言 (IL) 指令。Describes an intermediate language (IL) instruction.

public value class OpCode
[System.Runtime.InteropServices.ComVisible(true)]
public struct OpCode
type OpCode = struct
Public Structure OpCode
继承
OpCode
属性

属性

FlowControl

中间语言 (IL) 指令的流控制特性。The flow control characteristics of the intermediate language (IL) instruction.

Name

中间语言 (IL) 指令的名称。The name of the intermediate language (IL) instruction.

OpCodeType

中间语言 (IL) 指令的类型。The type of intermediate language (IL) instruction.

OperandType

中间语言 (IL) 指令的操作数类型。The operand type of an intermediate language (IL) instruction.

Size

中间语言 (IL) 指令的大小。The size of the intermediate language (IL) instruction.

StackBehaviourPop

中间语言 (IL) 指令弹出堆栈的方式。How the intermediate language (IL) instruction pops the stack.

StackBehaviourPush

中间语言 (IL) 指令将操作数推到堆栈上的方式。How the intermediate language (IL) instruction pushes operand onto the stack.

Value

获取中间语言 (IL) 指令的数值。Gets the numeric value of the intermediate language (IL) instruction.

方法

Equals(Object)

测试给定对象是否等于此 OpcodeTests whether the given object is equal to this Opcode.

Equals(OpCode)

指示当前实例是否等于指定的 OpCodeIndicates whether the current instance is equal to the specified OpCode.

GetHashCode()

返回为此 Opcode 生成的哈希代码。Returns the generated hash code for this Opcode.

ToString()

String 的形式返回此 OpcodeReturns this Opcode as a String.

操作员

Equality(OpCode, OpCode)

指示两个 OpCode 结构是否相等。Indicates whether two OpCode structures are equal.

Inequality(OpCode, OpCode)

指示两个 OpCode 结构是否不相等。Indicates whether two OpCode structures are not equal.

适用于