19 references to AnalyzeDataFlow
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (1)
162var exprDataFlow = semanticModel.AnalyzeDataFlow(assignmentExpression.Target.Syntax);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
36=> semanticModel.AnalyzeDataFlow(statementOrExpression) ?? throw new InvalidOperationException();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
194var dataFlow = operation.SemanticModel.AnalyzeDataFlow(operation.Syntax);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
401return _semanticModel.AnalyzeDataFlow(statementOrExpression).DataFlowsIn.Contains(_localSymbol);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
SymbolKey\SymbolKeyTestBase.cs (3)
286var df = model.AnalyzeDataFlow(declarator.Initializer.Value); 312var df = model.AnalyzeDataFlow(body); 325var df = model.AnalyzeDataFlow(a.Expression);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
FlowAnalysis\RegionAnalysisTests.cs (2)
2694(model, constructorInitializer) => global::Microsoft.CodeAnalysis.ModelExtensions.AnalyzeDataFlow(model, constructorInitializer) 2824(model, primaryConstructorInitializer) => global::Microsoft.CodeAnalysis.ModelExtensions.AnalyzeDataFlow(model, primaryConstructorInitializer)
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertIfToSwitch\CSharpConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (1)
113var requiresBlock = !operation.SemanticModel.AnalyzeDataFlow(node).VariablesDeclared.IsDefaultOrEmpty;
EditAndContinue\DeclarationBody\PropertyOrIndexerAccessorDeclarationBody.cs (1)
77=> (ExplicitBody != null) ? model.AnalyzeDataFlow(ExplicitBody).CapturedInside : [];
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
401return _semanticModel.AnalyzeDataFlow(statementOrExpression).DataFlowsIn.Contains(_localSymbol);
Microsoft.CodeAnalysis.Features (2)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
253var analysis = semanticModel.AnalyzeDataFlow(syntax);
src\Analyzers\Core\Analyzers\UseThrowExpression\AbstractUseThrowExpressionDiagnosticAnalyzer.cs (1)
162var exprDataFlow = semanticModel.AnalyzeDataFlow(assignmentExpression.Target.Syntax);
Microsoft.CodeAnalysis.VisualBasic.Features (2)
EditAndContinue\DeclarationBody\FieldOrPropertyDeclarationBody.vb (1)
131Return model.AnalyzeDataFlow(OtherActiveStatementContainer).CapturedInside
EditAndContinue\DeclarationBody\VisualBasicLambdaBody.vb (1)
45Return model.AnalyzeDataFlow(If(TryCast(_node.Parent, LambdaExpressionSyntax), _node)).CapturedInside
Microsoft.CodeAnalysis.Workspaces (3)
ReassignedVariable\AbstractReassignedVariableService.cs (1)
336var dataFlow = semanticModel.AnalyzeDataFlow(id);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
36=> semanticModel.AnalyzeDataFlow(statementOrExpression) ?? throw new InvalidOperationException();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
194var dataFlow = operation.SemanticModel.AnalyzeDataFlow(operation.Syntax);