ILOpCodeExtensions.GetBranchOperandSize(ILOpCode) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 분기 명령 피연산자의 크기를 계산합니다.
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
매개 변수
- opCode
- ILOpCode
분기 작업 코드입니다.
반환
opCode
가 짧은 분기이면 1이고, 긴 분기이면 4입니다.
예외
지정된 opCode
는 분기 작업 코드가 아닙니다.