Click or drag to resize

ControlFlowAnalysis Class



Provides information about statements which transfer control in and out of a region. This information is returned from a call to AnalyzeControlFlow(SyntaxNode).
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysisControlFlowAnalysis

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class ControlFlowAnalysis

The ControlFlowAnalysis type exposes the following members.

Constructors
  NameDescription
Protected methodControlFlowAnalysis
Initializes a new instance of the ControlFlowAnalysis class
Top
Properties
  NameDescription
Public propertyEndPointIsReachable
Indicates whether a region completes normally. Return true if and only if the end of the last statement in a region is reachable or the region contains no statements.
Public propertyEntryPoints
The set of statements inside the region what are the destination of branches outside the region.
Public propertyExitPoints
The set of statements inside a region that jump to locations outside the region.
Public propertyReturnStatements
The set of return statements found within a region.
Public propertyStartPointIsReachable
Public propertySucceeded
Returns true iff analysis was successful. Analysis can fail if the region does not properly span a single expression, a single statement, or a contiguous series of statements within the enclosing block.
Top
See Also