Represents a sequence of instructions without branches, i.e. the control flow
necessarly begins at the beginning of the sequence and ends at the end
of the sequence.
Namespace:
PostSharp.CodeModelAssembly: PostSharp.Core (in PostSharp.Core.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public NotInheritable Class InstructionSequence _ Implements IDisposable |
| C# |
|---|
public sealed class InstructionSequence : IDisposable |
| Visual C++ |
|---|
public ref class InstructionSequence sealed : IDisposable |
Remarks
By default, PostSharp only analyzes the normal control flow on the base of
branching instructions, i.e. it ignores the control flow caused by exceptions.
So it is possible that, in case of exception, the sequence is left from
an textWriter point instead of from the last instruction.
Inheritance Hierarchy
System..::.Object
PostSharp.CodeModel..::.InstructionSequence
PostSharp.CodeModel..::.InstructionSequence