ILOpCodeExtensions.GetBranchOperandSize(ILOpCode) Méthode

Définition

Calcule la taille de l’opérande d’instruction de branche spécifiée.

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

Paramètres

opCode
ILOpCode

Code d’opération de branche.

Retours

1 s’il s’agit opCode d’une branche courte, ou 4 s’il s’agit d’une longue branche.

Exceptions

Le code d’opération de branche spécifié opCode n’est pas spécifié.

S’applique à