8 references to DescendantNodesAndSelf
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
173foreach (var node in _commonRoot.DescendantNodesAndSelf(this.SpanToFormat))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxNodeTests.cs (4)
205nodes = statement.DescendantNodesAndSelf(statement.FullSpan).ToList(); 210nodes = statement.DescendantNodesAndSelf(statement.FullSpan, descendIntoTrivia: true).ToList(); 217nodes = statement.DescendantNodesAndSelf(statement.FullSpan, n => n is StatementSyntax).ToList(); 222nodes = statement.DescendantNodesAndSelf(statement.FullSpan, n => n is StatementSyntax, descendIntoTrivia: true).ToList();
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
TestSyntaxNodes.vb (2)
2459nodes = statement.DescendantNodesAndSelf(statement.FullSpan).ToList() 2464nodes = statement.DescendantNodesAndSelf(statement.FullSpan, descendIntoTrivia:=True).ToList()
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
173foreach (var node in _commonRoot.DescendantNodesAndSelf(this.SpanToFormat))