ILOpCodeExtensions.GetShortBranch(ILOpCode) Method

Definition

Gets a short form of the specified branch op-code.

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

Parameters

opCode
ILOpCode

The branch op-code.

Returns

The short form of the branch op-code.

Exceptions

The specified opCode is not a branch op-code.

Applies to