Share via


ILOpCodeExtensions.GetBranchOperandSize(ILOpCode) Yöntem

Tanım

Belirtilen dal yönergesi işleneninin boyutunu hesaplar.

public:
[System::Runtime::CompilerServices::Extension]
 static int GetBranchOperandSize(System::Reflection::Metadata::ILOpCode opCode);
public static int GetBranchOperandSize (this System.Reflection.Metadata.ILOpCode opCode);
static member GetBranchOperandSize : System.Reflection.Metadata.ILOpCode -> int
<Extension()>
Public Function GetBranchOperandSize (opCode As ILOpCode) As Integer

Parametreler

opCode
ILOpCode

Dal op-kodu.

Döndürülenler

Kısa bir dal ise opCode 1, uzun bir dal ise 4.

Özel durumlar

Belirtilen opCode bir dal op-kodu değil.

Şunlara uygulanır