6 references to DescendantNodes
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxNodeTests.cs (4)
155
nodes = statement.
DescendantNodes
(statement.FullSpan).ToList();
159
nodes = statement.
DescendantNodes
(statement.FullSpan, descendIntoTrivia: true).ToList();
165
nodes = statement.
DescendantNodes
(statement.FullSpan, n => n is StatementSyntax).ToList();
169
nodes = statement.
DescendantNodes
(statement.FullSpan, n => n is StatementSyntax, descendIntoTrivia: true).ToList();
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
TestSyntaxNodes.vb (2)
2424
nodes = statement.
DescendantNodes
(statement.FullSpan).ToList()
2428
nodes = statement.
DescendantNodes
(statement.FullSpan, descendIntoTrivia:=True).ToList()