2 references to DescendantTrivia
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxNodeRemover.cs (1)
434
var directivesInSpan = node.
DescendantTrivia
(span, n => n.ContainsDirectives, descendIntoTrivia: true)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\SyntaxNodeRemover.vb (1)
301
Dim directivesInSpan = node.
DescendantTrivia
(span, Function(n) n.ContainsDirectives, descendIntoTrivia:=True) _