PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Instruction­Writer Class / Instruction­Writer Properties / Instruction­Writer.​Current­Instruction­Sequence Property

InstructionWriter.CurrentInstructionSequence Property

Gets the current instruction sequence.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
public InstructionSequence CurrentInstructionSequence { get; }

Property Value

Type: InstructionSequence
The current instruction sequence, or null if the current writer is not attached to any sequence.
See Also