InstructionEncoder(BlobBuilder, ControlFlowBuilder) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an encoder backed by code and control-flow builders.
public InstructionEncoder (System.Reflection.Metadata.BlobBuilder codeBuilder, System.Reflection.Metadata.Ecma335.ControlFlowBuilder? controlFlowBuilder = default);
public InstructionEncoder (System.Reflection.Metadata.BlobBuilder codeBuilder, System.Reflection.Metadata.Ecma335.ControlFlowBuilder controlFlowBuilder = default);
new System.Reflection.Metadata.Ecma335.InstructionEncoder : System.Reflection.Metadata.BlobBuilder * System.Reflection.Metadata.Ecma335.ControlFlowBuilder -> System.Reflection.Metadata.Ecma335.InstructionEncoder
Public Sub New (codeBuilder As BlobBuilder, Optional controlFlowBuilder As ControlFlowBuilder = Nothing)
Parameters
- codeBuilder
- BlobBuilder
Builder to write encoded instructions to.
- controlFlowBuilder
- ControlFlowBuilder
Builder tracking labels, branches and exception handlers. Must be specified to be able to use some of the control-flow factory methods of InstructionEncoder, such as Branch(ILOpCode, LabelHandle), DefineLabel(), MarkLabel(LabelHandle) etc.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.