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
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.