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