Compartilhar via


ControlFlowRegionKind Enum

Definition

Defines kinds of regions that can be present in a ControlFlowGraph

public enum class ControlFlowRegionKind
public enum ControlFlowRegionKind
type ControlFlowRegionKind = 
Public Enum ControlFlowRegionKind
Inheritance
ControlFlowRegionKind

Fields

Catch 4

Region representing Handler

ErroneousBody 10

Region representing erroneous block of code that is unreachable from the entry block.

Filter 3

Region representing Filter

FilterAndHandler 5

Region representing a union of a Filter and the corresponding catch Catch regions. Doesn't contain any BasicBlocks directly.

Finally 7

Region representing Finally

LocalLifetime 1

Region with the only purpose to represent the life-time of locals, intermediate results, and nested methods (local functions, lambdas). The lifetime of a local variable is the portion of program execution during which storage is guaranteed to be reserved for it. The lifetime of a nested method is the portion of program execution within which the method can be referenced. The lifetime of an intermediate result (capture) is the portion of program execution within which the result can be referenced.

Root 0

A root region encapsulating all BasicBlocks in a ControlFlowGraph

StaticLocalInitializer 9

Region representing the initialization for a VB Static local variable. This region will only be executed the first time a function is called.

Try 2

Region representing a try region. For example, Body

TryAndCatch 6

Region representing a union of a Try and all corresponding catch Catch and FilterAndHandler regions. Doesn't contain any BasicBlocks directly.

TryAndFinally 8

Region representing a union of a Try and corresponding finally Finally region. Doesn't contain any BasicBlocks directly.

An ITryOperation that has a set of Catches and a Finally at the same time is mapped to a TryAndFinally region with TryAndCatch region inside its Try region.

Applies to