12 references to IsChildOf
Microsoft.CodeAnalysis.VisualBasic.Workspaces (12)
CodeGeneration\VisualBasicSyntaxGenerator.vb (12)
1736If Not IsChildOf(declaration, SyntaxKind.FunctionBlock) Then
1740If Not IsChildOf(declaration, SyntaxKind.SubBlock) Then
1752If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
1762If Not IsChildOf(declaration, SyntaxKind.OperatorBlock) Then
1768If Not IsChildOf(declaration, SyntaxKind.EventBlock) Then
1780If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
1781If IsChildOf(declaration.Parent, SyntaxKind.FieldDeclaration) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1783ElseIf IsChildOf(declaration.Parent, SyntaxKind.LocalDeclarationStatement) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1818If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
1848If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
3593If IsChildOf(node, SyntaxKind.ArgumentList) AndAlso IsChildOf(node.Parent, SyntaxKind.Attribute) Then