ILOpCodeExtensions.GetBranchOperandSize(ILOpCode) 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.
Calculates the size of the specified branch instruction operand.
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
Parameters
- opCode
- ILOpCode
The branch op-code.
Returns
1 if opCode
is a short branch, or 4 if it is a long branch.
Exceptions
The specified opCode
is not a branch op-code.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.