InstructionEncoder.MarkLabel(LabelHandle) 方法

定义

将指定的标签与当前的 IL 偏移量相关联。

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)

参数

label
LabelHandle

要标记的标签。

例外

label 此编码器未定义。

label 具有默认值。

注解

单个标签可以多次标记,最后一个偏移量将获胜。

适用于