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