12 references to IsChildOf
Microsoft.CodeAnalysis.VisualBasic.Workspaces (12)
CodeGeneration\VisualBasicSyntaxGenerator.vb (12)
1913If Not IsChildOf(declaration, SyntaxKind.FunctionBlock) Then
1917If Not IsChildOf(declaration, SyntaxKind.SubBlock) Then
1929If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
1939If Not IsChildOf(declaration, SyntaxKind.OperatorBlock) Then
1945If Not IsChildOf(declaration, SyntaxKind.EventBlock) Then
1957If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
1958If IsChildOf(declaration.Parent, SyntaxKind.FieldDeclaration) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1960ElseIf IsChildOf(declaration.Parent, SyntaxKind.LocalDeclarationStatement) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1995If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
2025If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
3906If IsChildOf(node, SyntaxKind.ArgumentList) AndAlso IsChildOf(node.Parent, SyntaxKind.Attribute) Then