SemanticModel.AnalyzeDataFlowCore Method

Definition

Overloads

AnalyzeDataFlowCore(SyntaxNode)

Analyze data-flow within a part of a method body.

AnalyzeDataFlowCore(SyntaxNode, SyntaxNode)

Analyze data-flow within a part of a method body.

AnalyzeDataFlowCore(SyntaxNode)

Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs

Analyze data-flow within a part of a method body.

C#
protected abstract Microsoft.CodeAnalysis.DataFlowAnalysis AnalyzeDataFlowCore(Microsoft.CodeAnalysis.SyntaxNode statementOrExpression);

Parameters

statementOrExpression
SyntaxNode

The statement or expression to be analyzed.

Returns

An object that can be used to obtain the result of the data flow analysis.

Exceptions

The statement or expression is not with a method body or field or property initializer.

Remarks

The statement or expression must be fully inside a method body.

Applies to

Roslyn 4.13.0 and other versions
Product Versions
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0

AnalyzeDataFlowCore(SyntaxNode, SyntaxNode)

Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs
Source:
SemanticModel.cs

Analyze data-flow within a part of a method body.

C#
protected abstract Microsoft.CodeAnalysis.DataFlowAnalysis AnalyzeDataFlowCore(Microsoft.CodeAnalysis.SyntaxNode firstStatement, Microsoft.CodeAnalysis.SyntaxNode lastStatement);

Parameters

firstStatement
SyntaxNode

The first node to be included within the analysis.

lastStatement
SyntaxNode

The last node to be included within the analysis.

Returns

An object that can be used to obtain the result of the data flow analysis.

Exceptions

The span is not with a method body.

Remarks

The first and last nodes must be fully inside the same method body.

Applies to

Roslyn 4.13.0 and other versions
Product Versions
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0