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