PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Instruction­Writer Class / Instruction­Writer Methods / Instruction­Writer.​Detach­Instruction­Sequence Method

InstructionWriter.DetachInstructionSequence Method

Detaches the current InstructionWriter from the active InstructionSequence.
Overload List
  NameDescription
Public methodDetachInstructionSequence()
Detaches the current InstructionWriter from the active InstructionSequence and commits the changes.
Public methodDetachInstructionSequence(Boolean)
Detaches the current InstructionWriter form the active InstructionSequence by specifying whether the changes should be committed or rolled back.
See Also