PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Instruction­Block Class / Instruction­Block Methods / Instruction­Block.​Nest Method / Instruction­Block.​Nest Method (Boolean, Boolean)

InstructionBlock.Nest Method (Boolean, Boolean)

Inserts a new InstructionBlock between the current block and its parent.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public InstructionBlock Nest(
	bool moveLocalVariableSymbols,
	bool moveExceptionHandlersToParentBlock
)

Parameters

moveLocalVariableSymbols
Type: System.Boolean

[Missing <param name="moveLocalVariableSymbols"/> documentation for "M:PostSharp.Sdk.CodeModel.InstructionBlock.Nest(System.Boolean,System.Boolean)"]

moveExceptionHandlersToParentBlock
Type: System.Boolean

[Missing <param name="moveExceptionHandlersToParentBlock"/> documentation for "M:PostSharp.Sdk.CodeModel.InstructionBlock.Nest(System.Boolean,System.Boolean)"]

Return Value

Type: InstructionBlock
The new InstructionBlock.
See Also