12 references to IsChildOf
Microsoft.CodeAnalysis.VisualBasic.Workspaces (12)
CodeGeneration\VisualBasicSyntaxGenerator.vb (12)
1740If Not IsChildOf(declaration, SyntaxKind.FunctionBlock) Then
1744If Not IsChildOf(declaration, SyntaxKind.SubBlock) Then
1756If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
1766If Not IsChildOf(declaration, SyntaxKind.OperatorBlock) Then
1772If Not IsChildOf(declaration, SyntaxKind.EventBlock) Then
1784If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
1785If IsChildOf(declaration.Parent, SyntaxKind.FieldDeclaration) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1787ElseIf IsChildOf(declaration.Parent, SyntaxKind.LocalDeclarationStatement) And GetDeclarationCount(declaration.Parent.Parent) > 1 Then
1822If Not IsChildOf(declaration, SyntaxKind.PropertyBlock) Then
1852If IsChildOf(declaration, SyntaxKind.VariableDeclarator) Then
3587If IsChildOf(node, SyntaxKind.ArgumentList) AndAlso IsChildOf(node.Parent, SyntaxKind.Attribute) Then