9 references to AnalyzeControlFlow
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
45
=> semanticModel.
AnalyzeControlFlow
(firstStatement, lastStatement) ?? throw new InvalidOperationException();
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\RemoveAsyncModifier\AbstractRemoveAsyncModifierCodeFixProvider.cs (1)
171
return semanticModel.
AnalyzeControlFlow
(statements[0], statements[statements.Count - 1]);
Microsoft.CodeAnalysis.Features (6)
ExtractMethod\SelectionValidator.cs (1)
41
var controlFlowAnalysisData = semanticModel.
AnalyzeControlFlow
(range.Item1, range.Item2);
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (1)
345
var flow = semanticModel.
AnalyzeControlFlow
(
SplitOrMergeIfStatements\Consecutive\AbstractMergeConsecutiveIfStatementsCodeRefactoringProvider.cs (1)
220
var controlFlow = semanticModel.
AnalyzeControlFlow
(insideStatements[0], insideStatements[insideStatements.Count - 1]);
SplitOrMergeIfStatements\Consecutive\AbstractSplitIntoConsecutiveIfStatementsCodeRefactoringProvider.cs (1)
152
var controlFlow = semanticModel.
AnalyzeControlFlow
(insideStatements[0], insideStatements[insideStatements.Count - 1]);
SplitOrMergeIfStatements\Nested\AbstractMergeNestedIfStatementsCodeRefactoringProvider.cs (1)
222
var controlFlow = semanticModel.
AnalyzeControlFlow
(statements[0], statements[statements.Count - 1]);
src\Analyzers\Core\CodeFixes\RemoveAsyncModifier\AbstractRemoveAsyncModifierCodeFixProvider.cs (1)
171
return semanticModel.
AnalyzeControlFlow
(statements[0], statements[statements.Count - 1]);
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
45
=> semanticModel.
AnalyzeControlFlow
(firstStatement, lastStatement) ?? throw new InvalidOperationException();