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

InstructionBlock.GetChildrenEnumerator Method (Boolean)

Gets an enumerator to enumerate children blocks and allow to enumerate them children of children recursively.

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 IEnumerator<InstructionBlock> GetChildrenEnumerator(
	bool deep
)

Parameters

deep
Type: System.Boolean
true if children have to be enumerated recursively, otherwise false.

Return Value

Type: IEnumerator<InstructionBlock>
An IEnumerator<T>.
See Also