InstructionEncoder.MarkLabel(LabelHandle) Method
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.
Associates specified label with the current IL offset.
public:
void MarkLabel(System::Reflection::Metadata::Ecma335::LabelHandle label);
public void MarkLabel (System.Reflection.Metadata.Ecma335.LabelHandle label);
member this.MarkLabel : System.Reflection.Metadata.Ecma335.LabelHandle -> unit
Public Sub MarkLabel (label As LabelHandle)
Parameters
- label
- LabelHandle
Label to mark.
Exceptions
label
was not defined by this encoder.
label
has default value.
Remarks
A single label may be marked multiple times, the last offset wins.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.