Share via


InstructionEncoder.Branch(ILOpCode, LabelHandle) 方法

定義

編碼分支指示。

public:
 void Branch(System::Reflection::Metadata::ILOpCode code, System::Reflection::Metadata::Ecma335::LabelHandle label);
public void Branch (System.Reflection.Metadata.ILOpCode code, System.Reflection.Metadata.Ecma335.LabelHandle label);
member this.Branch : System.Reflection.Metadata.ILOpCode * System.Reflection.Metadata.Ecma335.LabelHandle -> unit
Public Sub Branch (code As ILOpCode, label As LabelHandle)

參數

code
ILOpCode

要編碼的分支指示。

label
LabelHandle

指示資料流中目標位置的標籤。

例外狀況

code 不是分支指令。

-或-

label 不是由此編碼器定義。

label 有預設值。

適用於