5 references to IsStatementContainerNode
Microsoft.CodeAnalysis.CSharp.Features (5)
ExtractMethod\CSharpMethodExtractor.cs (2)
101if (!globalStatement.Statement.IsStatementContainerNode() && !root.SyntaxTree.IsScript()) 135if (!globalStatement.Statement.IsStatementContainerNode() && !root.SyntaxTree.IsScript())
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.MultipleStatementsCodeGenerator.cs (1)
68Contract.ThrowIfFalse(node.IsStatementContainerNode());
ExtractMethod\CSharpSelectionResult.cs (1)
116Contract.ThrowIfFalse(container.IsStatementContainerNode() ||
ExtractMethod\Extensions.cs (1)
26current.Parent.IsStatementContainerNode())