1 implementation of IsStatementContainer
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\BlockFacts\AbstractBlockFacts.cs (1)
20
public abstract bool
IsStatementContainer
([NotNullWhen(true)] SyntaxNode? node);
4 references to IsStatementContainer
Microsoft.CodeAnalysis.Features (3)
SplitOrMergeIfStatements\Nested\AbstractMergeNestedIfStatementsCodeRefactoringProvider.cs (3)
99
if (blockFacts.
IsStatementContainer
(statement.Parent))
127
Debug.Assert(blockFacts.
IsStatementContainer
(ifOrElseIf));
128
if (blockFacts.
IsStatementContainer
(ifOrElseIf))
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\BlockFacts\IBlockFactsExtensions.cs (1)
17
if (blockFacts.
IsStatementContainer
(current.Parent))