1 implementation of IsExecutableBlock
Microsoft.CodeAnalysis.CodeStyle (1)
AbstractBlockFacts.cs (1)
13
public abstract bool
IsExecutableBlock
([NotNullWhen(true)] SyntaxNode? node);
3 references to IsExecutableBlock
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
AbstractMoveDeclarationNearReferenceService.State.cs (1)
77
if (!blockFacts.
IsExecutableBlock
(OutermostBlock))
AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
685
blockFacts.
IsExecutableBlock
(n.Parent) &&
AbstractSemanticFactsService.cs (1)
77
a => BlockFacts.
IsExecutableBlock
(a) || SyntaxFacts.IsParameterList(a) || SyntaxFacts.IsMethodBody(a));