3 references to HasAncestor
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb (1)
278
If Not token.HasTrailingTrivia OrElse token.
HasAncestor
(Of IncompleteMemberSyntax) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\IsStatementTerminatingTokenVisitor.vb (1)
123
If node.ThrowKeyword.
HasAncestor
(Of TryBlockSyntax)() Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
59
Return token.
HasAncestor
(Of DirectiveTriviaSyntax)