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