PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Instruction­Block Class / Instruction­Block Properties / Instruction­Block.​Has­Exception­Handlers Property

InstructionBlock.HasExceptionHandlers Property

Determines whether the current block has exception handlers (ExceptionHandler).

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 bool HasExceptionHandlers { get; }

Property Value

Type: Boolean
true if the current block has at least one exception handler, otherwise false.
See Also