3 references to IsMethodBody
Microsoft.CodeAnalysis.Workspaces (3)
Rename\Renamer.RenameSymbolDocumentAction.cs (1)
74
var typeDeclarations = syntaxRoot.DescendantNodesAndSelf(n => !syntaxFacts.
IsMethodBody
(n)).Where(syntaxFacts.IsTypeDeclaration);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxEditorExtensions.cs (1)
213
(n, syntaxFacts) => syntaxFacts.
IsMethodBody
(n) ||
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (1)
78
a => BlockFacts.IsExecutableBlock(a) || SyntaxFacts.IsParameterList(a) || SyntaxFacts.
IsMethodBody
(a));