ControlFlowGraph Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Control flow graph representation for a given executable code block OriginalOperation. This graph contains a set of BasicBlocks, with an entry block, zero or more intermediate basic blocks and an exit block. Each basic block contains zero or more Operations and explicit ControlFlowBranch(s) to other basic block(s).
public ref class ControlFlowGraph sealed
public sealed class ControlFlowGraph
type ControlFlowGraph = class
Public NotInheritable Class ControlFlowGraph
- Inheritance
-
ControlFlowGraph
Properties
Blocks |
Basic blocks for the control flow graph. |
LocalFunctions |
Local functions declared within OriginalOperation. |
OriginalOperation |
Original operation, representing an executable code block, from which this control flow graph was generated. Note that Operations in the control flow graph are not in the same operation tree as the original operation. |
Parent |
Optional parent control flow graph for this graph. Non-null for a control flow graph generated for a local function or a lambda. Null otherwise. |
Root |
Root (Root) region for the graph. |
Methods
Extension Methods
GetAnonymousFunctionControlFlowGraphInScope(ControlFlowGraph, IFlowAnonymousFunctionOperation, CancellationToken) |
Gets or creates a control flow graph for the given |
GetLocalFunctionControlFlowGraphInScope(ControlFlowGraph, IMethodSymbol, CancellationToken) |
Gets or creates a control flow graph for the given |