1 implementation of IsExecutableBlock
Microsoft.CodeAnalysis.Workspaces (1)
AbstractBlockFacts.cs (1)
13public abstract bool IsExecutableBlock([NotNullWhen(true)] SyntaxNode? node);
7 references to IsExecutableBlock
Microsoft.CodeAnalysis.CSharp.Features (1)
RemoveUnusedVariable\CSharpRemoveUnusedVariableCodeFixProvider.cs (1)
83blockFacts.IsExecutableBlock(localDeclaration.Parent);
Microsoft.CodeAnalysis.Features (4)
AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
685blockFacts.IsExecutableBlock(n.Parent) &&
RemoveUnusedVariable\AbstractRemoveUnusedVariableCodeFixProvider.cs (1)
144if (blockFacts.IsExecutableBlock(statementParent))
SplitOrMergeIfStatements\Consecutive\AbstractMergeConsecutiveIfStatementsCodeRefactoringProvider.cs (1)
234blockFacts.IsExecutableBlock(ifOrElseIf.Parent))
SplitOrMergeIfStatements\Consecutive\AbstractSplitIntoConsecutiveIfStatementsCodeRefactoringProvider.cs (1)
89if (!blockFacts.IsExecutableBlock(ifOrElseIf.Parent))
Microsoft.CodeAnalysis.Workspaces (2)
AbstractMoveDeclarationNearReferenceService.State.cs (1)
77if (!blockFacts.IsExecutableBlock(OutermostBlock))
AbstractSemanticFactsService.cs (1)
77a => BlockFacts.IsExecutableBlock(a) || SyntaxFacts.IsParameterList(a) || SyntaxFacts.IsMethodBody(a));