ILOpCodeExtensions.IsBranch(ILOpCode) Method

Definition

Verifies if the specified op-code is a branch to a label.

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

Parameters

opCode
ILOpCode

Returns

true if the specified op-code is a branch to a label, false otherwise.

Applies to