InstructionEncoder Структура

Определение

Encodes instructions.Encodes instructions.

public value class InstructionEncoder
public struct InstructionEncoder
type InstructionEncoder = struct
Public Structure InstructionEncoder
Наследование
InstructionEncoder

Конструкторы

InstructionEncoder(BlobBuilder, ControlFlowBuilder)

Creates an encoder backed by code and control-flow builders.Creates an encoder backed by code and control-flow builders.

Свойства

CodeBuilder

Underlying builder where encoded instructions are written to.Underlying builder where encoded instructions are written to.

ControlFlowBuilder

Builder tracking labels, branches and exception handlers.Builder tracking labels, branches and exception handlers.

Offset

Offset of the next encoded instruction.Offset of the next encoded instruction.

Методы

Branch(ILOpCode, LabelHandle)

Encodes a branch instruction.Encodes a branch instruction.

Call(EntityHandle)

Encodes call instruction and its operand.Encodes call instruction and its operand.

Call(MemberReferenceHandle)

Encodes call instruction and its operand.Encodes call instruction and its operand.

Call(MethodDefinitionHandle)

Encodes call instruction and its operand.Encodes call instruction and its operand.

Call(MethodSpecificationHandle)

Encodes call instruction and its operand.Encodes call instruction and its operand.

CallIndirect(StandaloneSignatureHandle)

Encodes calli instruction and its operand.Encodes calli instruction and its operand.

DefineLabel()

Defines a label that can later be used to mark and refer to a location in the instruction stream.Defines a label that can later be used to mark and refer to a location in the instruction stream.

LoadArgument(Int32)

Encodes argument load instruction.Encodes argument load instruction.

LoadArgumentAddress(Int32)

Encodes argument address load instruction.Encodes argument address load instruction.

LoadConstantI4(Int32)

Encodes Int32 constant load instruction.Encodes Int32 constant load instruction.

LoadConstantI8(Int64)

Encodes Int64 constant load instruction.Encodes Int64 constant load instruction.

LoadConstantR4(Single)

Encodes Single constant load instruction.Encodes Single constant load instruction.

LoadConstantR8(Double)

Encodes Double constant load instruction.Encodes Double constant load instruction.

LoadLocal(Int32)

Encodes local variable load instruction.Encodes local variable load instruction.

LoadLocalAddress(Int32)

Encodes local variable address load instruction.Encodes local variable address load instruction.

LoadString(UserStringHandle)

Encodes ldstr instruction and its operand.Encodes ldstr instruction and its operand.

MarkLabel(LabelHandle)

Associates specified label with the current IL offset.Associates specified label with the current IL offset.

OpCode(ILOpCode)

Encodes specified op-code.Encodes specified op-code.

StoreArgument(Int32)

Encodes argument store instruction.Encodes argument store instruction.

StoreLocal(Int32)

Encodes local variable store instruction.Encodes local variable store instruction.

Token(EntityHandle)

Encodes a token.Encodes a token.

Token(Int32)

Encodes a token.Encodes a token.

Применяется к