82 references to Parent
Microsoft.CodeAnalysis.VisualBasic (82)
Binding\AttributeSemanticModel.vb (3)
38If TypeOf binder.Root.Parent Is AttributeListSyntax Then 39Return DirectCast(model.GetDeclaredSymbolForNode(binder.Root.Parent.Parent), Symbol)
Binding\Binder_Invocation.vb (1)
66Dim nodeParent As VisualBasicSyntaxNode = node.Parent
Binding\Binder_Statements.vb (2)
898labelParent = labelParent.Parent 5204curSyntax = curSyntax.Parent
Binding\BinderFactory.vb (17)
264Dim containingNamedTypeBinder = GetContainingNamedTypeBinderForMemberNode(node.Parent.Parent, containingBinder) 299containingNamedTypeBinder = GetContainingNamedTypeBinderForMemberNode(node.Parent.Parent, containingBinder) 331containingNamedTypeBinder = GetContainingNamedTypeBinderForMemberNode(node.Parent, containingBinder) 485nodeForOuterBinder = parent.Parent 487nodeForOuterBinder = nodeForOuterBinder.Parent 491nodeForOuterBinder = parent.Parent 493nodeForOuterBinder = nodeForOuterBinder.Parent 497nodeForOuterBinder = parent.Parent 499nodeForOuterBinder = nodeForOuterBinder.Parent 505nodeForOuterBinder = parent.Parent 508nodeForOuterBinder = parent.Parent 671If containingBinder IsNot Nothing AndAlso node.Parent IsNot Nothing Then 674Dim attributeBlock = node.Parent 677If attributeBlock.Parent IsNot Nothing Then 679Select Case attributeBlock.Parent.Kind
Binding\DocumentationCommentCrefBinder.vb (1)
432node = node.Parent
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
52name = name.Parent
Binding\MemberSemanticModel.vb (10)
186Dim parent As VisualBasicSyntaxNode = node.Parent 515Dim lambdaHeader = TryCast(parent.Parent, LambdaHeaderSyntax) 585parent = parent.Parent 1657(node.Kind = SyntaxKind.ExpressionRangeVariable AndAlso node.Parent.Kind = SyntaxKind.LetClause) OrElse 1756parent = parent.Parent 1757Return parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.WithBlock AndAlso parent.Parent IsNot Nothing 1799Dim parent As VisualBasicSyntaxNode = node.Parent 1811If parent.Parent IsNot Nothing AndAlso parent.Parent.Kind = SyntaxKind.Parameter Then 1817parent = parent.Parent
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (1)
164parent = parent.Parent
Compilation\SemanticModel.vb (4)
680Dim parent As VisualBasicSyntaxNode = node.Parent 691parent = parent.Parent 698parent = parent.Parent 701parent = parent.Parent
Compilation\SyntaxTreeSemanticModel.vb (13)
562Dim parent As VisualBasicSyntaxNode = node.Parent 576parent = parent.Parent 607isTopLevel = node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.CrefReference 1583Dim argList As VisualBasicSyntaxNode = expressionParent.Parent 1585Dim modIdentifier As VisualBasicSyntaxNode = argList.Parent 1587Dim varDeclarator As VisualBasicSyntaxNode = modIdentifier.Parent 1608node = node.Parent 1621Dim parent As VisualBasicSyntaxNode = currentNode.Parent 1633parent = parent.Parent 1644Dim localDeclSyntax = TryCast(parent.Parent, LocalDeclarationStatementSyntax) 1749parent = parent.Parent 1753parent = parent.Parent
Symbols\Source\RangeVariableSymbol.vb (2)
196grandParent = parent.Parent 199ggParent = grandParent.Parent
Symbols\Source\SourceMemberFieldSymbol.vb (4)
47Return Syntax.Parent.Parent 57Return OneOrMany.Create(DirectCast(Syntax.Parent.Parent, FieldDeclarationSyntax).AttributeLists)
Symbols\Source\SourcePropertySymbol.vb (3)
315Return DirectCast(syntax.Parent.Parent, FieldDeclarationSyntax) 465Return propertyStatementSyntax IsNot Nothing AndAlso IsDefinedInSourceTree(propertyStatementSyntax.Parent, tree, definedWithinSpan, cancellationToken)
Syntax\SyntaxFacts.vb (2)
1113p = p.Parent 1122p = p.Parent
Syntax\SyntaxNodeExtensions.vb (8)
34node = node.Parent 51node = node.Parent 60Dim current = node.Parent 65current = current.Parent 79node = node.Parent 205Dim parent As VisualBasicSyntaxNode = access.Parent 244parent = access.Parent 381node = node.Parent
Syntax\SyntaxNormalizer.vb (10)
1226If node.Parent Is Nothing OrElse 1227(node.Parent.Kind <> SyntaxKind.Parameter AndAlso node.Parent.Kind <> SyntaxKind.SimpleAsClause) Then 1402If node.Parent IsNot Nothing AndAlso 1403(node.Parent.Kind = SyntaxKind.SubBlock OrElse node.Parent.Kind = SyntaxKind.FunctionBlock) Then 1435If node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.EventBlock Then 1446If node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.PropertyBlock Then