12 references to IsChildOf
Microsoft.CodeAnalysis.VisualBasic.Workspaces (12)
CodeGeneration\VisualBasicSyntaxGenerator.vb (12)
1781If Not IsChildOf(declaration, SyntaxKind.FunctionBlock) Then
1785If Not IsChildOf(declaration, SyntaxKind.SubBlock) Then
1797If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
1807If Not IsChildOf(declaration, SyntaxKind.OperatorBlock) Then
1813If Not IsChildOf(declaration, SyntaxKind.EventBlock) Then
1825If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
1826If IsChildOf(declaration.Parent, SyntaxKind.FieldDeclaration) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1828ElseIf IsChildOf(declaration.Parent, SyntaxKind.LocalDeclarationStatement) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1863If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
1893If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
3638If IsChildOf(node, SyntaxKind.ArgumentList) AndAlso IsChildOf(node.Parent, SyntaxKind.Attribute) Then