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