Table of Contents

Class ControlFlowRegionExtensions

Namespace
Echo.ControlFlow.Regions
Assembly
Echo.ControlFlow.dll

Provides extensions to the IControlFlowRegion<TInstruction> interface.

public static class ControlFlowRegionExtensions
Inheritance
ControlFlowRegionExtensions
Inherited Members

Methods

GetParentExceptionHandler<TInstruction>(IControlFlowRegion<TInstruction>)

Obtains the parent exception handler region that this region resides in (if any).

public static ExceptionHandlerRegion<TInstruction>? GetParentExceptionHandler<TInstruction>(this IControlFlowRegion<TInstruction> self) where TInstruction : notnull

Parameters

self IControlFlowRegion<TInstruction>

Returns

ExceptionHandlerRegion<TInstruction>

The parent exception handler region, or null if the region is not part of any exception handler.

Type Parameters

TInstruction

GetParentHandler<TInstruction>(IControlFlowRegion<TInstruction>)

Obtains the parent handler region that this region resides in (if any).

public static HandlerRegion<TInstruction>? GetParentHandler<TInstruction>(this IControlFlowRegion<TInstruction> self) where TInstruction : notnull

Parameters

self IControlFlowRegion<TInstruction>

Returns

HandlerRegion<TInstruction>

The parent exception handler region, or null if the region is not part of any exception handler.

Type Parameters

TInstruction