Flow Analysis Class
Provides information about how data flows into and out of a region. This information is returned from a call to Microsoft.CodeAnalysis.SemanticModel.AnalyzeDataFlow(Microsoft.CodeAnalysis.SyntaxNode,Microsoft.CodeAnalysis.SyntaxNode), or one of its language-specific overloads, where you pass the first and last statements of the region as parameters. "Inside" means those statements or ones between them. "Outside" are any other statements of the same method.
public ref class DataFlowAnalysis abstract
public abstract class DataFlowAnalysis
type DataFlowAnalysis = class
Public MustInherit Class DataFlowAnalysis
The set of local variables for which a value is always assigned inside a region.
The set of the local variables that have been referenced in anonymous functions within a region and therefore must be moved to a field of a frame class.
The set of variables that are captured inside a region.
The set of variables that are captured outside a region.
The set of local variables which are assigned a value outside a region that may be used inside the region.
The set of local variables which are assigned a value inside a region that may be used outside the region.
The set of local variables which are definitely assigned a value when a region is entered.
The set of local variables which are definitely assigned a value when a region is exited.
The set of local variables that are read inside a region.
The set of the local variables that are read outside a region.
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.
The set of non-constant local variables and parameters that have had their address (or the address of one of their fields) taken.
The set of local variables that are declared within a region. Note that the region must be bounded by a method's body or a field's initializer, so parameter symbols are never included in the result.
The set of local variables that are written inside a region.
The set of local variables that are written outside a region.