PostSharp SDK 6.9 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Instruction­Writer Class / Instruction­Writer Methods / Instruction­Writer.​Emit­Branching­Instruction Method

InstructionWriter.EmitBranchingInstruction Method

Emits a branching instruction.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public override void EmitBranchingInstruction(
	OpCodeNumber code,
	InstructionSequence sequence
)

Parameters

code
Type: PostSharp.Sdk.CodeModel.OpCodeNumber
The instruction code.
sequence
Type: PostSharp.Sdk.CodeModel.InstructionSequence
The target InstructionSequence.

Return Value

Type: 
The distance of sequence w.r.t. the current instruction.
See Also