2 references to DescendantNodesAndTokens
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNode.cs (1)
1054
return this.
DescendantNodesAndTokens
(span, descendIntoChildren, descendIntoTrivia).Where(sn => sn.IsToken).Select(sn => sn.AsToken());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxNodeTests.cs (1)
256
nodesAndTokens = statement.
DescendantNodesAndTokens
(statement.FullSpan).ToList();