12 references to IsChildOf
Microsoft.CodeAnalysis.VisualBasic.Workspaces (12)
CodeGeneration\VisualBasicSyntaxGenerator.vb (12)
1731If Not IsChildOf(declaration, SyntaxKind.FunctionBlock) Then
1735If Not IsChildOf(declaration, SyntaxKind.SubBlock) Then
1747If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
1757If Not IsChildOf(declaration, SyntaxKind.OperatorBlock) Then
1763If Not IsChildOf(declaration, SyntaxKind.EventBlock) Then
1775If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
1776If IsChildOf(declaration.Parent, SyntaxKind.FieldDeclaration) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1778ElseIf IsChildOf(declaration.Parent, SyntaxKind.LocalDeclarationStatement) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1813If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
1843If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
3588If IsChildOf(node, SyntaxKind.ArgumentList) AndAlso IsChildOf(node.Parent, SyntaxKind.Attribute) Then