34 references to TypeDeclarationFlags
Microsoft.CodeAnalysis.VisualBasic (34)
Declarations\DeclarationTreeBuilder.vb (28)
84Dim declFlags As SingleTypeDeclaration.TypeDeclarationFlags = SingleTypeDeclaration.TypeDeclarationFlags.None 115Private Function CreateImplicitClass(parent As VisualBasicSyntaxNode, memberNames As ImmutableHashSet(Of String), children As ImmutableArray(Of SingleTypeDeclaration), declFlags As SingleTypeDeclaration.TypeDeclarationFlags) As SingleNamespaceOrTypeDeclaration 131Private Function CreateScriptClass(parent As VisualBasicSyntaxNode, children As ImmutableArray(Of SingleTypeDeclaration), memberNames As ImmutableHashSet(Of String), declFlags As SingleTypeDeclaration.TypeDeclarationFlags) As SingleNamespaceOrTypeDeclaration 193Dim declFlags As SingleTypeDeclaration.TypeDeclarationFlags = SingleTypeDeclaration.TypeDeclarationFlags.None 496Dim declFlags As SingleTypeDeclaration.TypeDeclarationFlags = If(declarationSyntax.AttributeLists.Any(), 497SingleTypeDeclaration.TypeDeclarationFlags.HasAnyAttributes, 498SingleTypeDeclaration.TypeDeclarationFlags.None) 501declFlags = declFlags Or SingleTypeDeclaration.TypeDeclarationFlags.HasBaseDeclarations 547Dim declFlags As SingleTypeDeclaration.TypeDeclarationFlags = If(declarationSyntax.AttributeLists.Any(), 548SingleTypeDeclaration.TypeDeclarationFlags.HasAnyAttributes, 549SingleTypeDeclaration.TypeDeclarationFlags.None) 552declFlags = declFlags Or SingleTypeDeclaration.TypeDeclarationFlags.HasBaseDeclarations 614Private Function GetNonTypeMemberNames(members As SyntaxList(Of StatementSyntax), ByRef declFlags As SingleTypeDeclaration.TypeDeclarationFlags) As ImmutableHashSet(Of String) 697declFlags = declFlags Or SingleTypeDeclaration.TypeDeclarationFlags.AnyMemberHasAttributes 701declFlags = declFlags Or SingleTypeDeclaration.TypeDeclarationFlags.HasAnyNontypeMembers 707Private Function GetMemberNames(enumBlockSyntax As EnumBlockSyntax, ByRef declFlags As SingleTypeDeclaration.TypeDeclarationFlags) As ImmutableHashSet(Of String) 711declFlags = declFlags Or SingleTypeDeclaration.TypeDeclarationFlags.HasAnyNontypeMembers 730declFlags = declFlags Or SingleTypeDeclaration.TypeDeclarationFlags.AnyMemberHasAttributes 742Dim declFlags As SingleTypeDeclaration.TypeDeclarationFlags = If(node.AttributeLists.Any(), 743SingleTypeDeclaration.TypeDeclarationFlags.HasAnyAttributes, 744SingleTypeDeclaration.TypeDeclarationFlags.None) 746declFlags = declFlags Or SingleTypeDeclaration.TypeDeclarationFlags.HasAnyNontypeMembers 768Dim declFlags As SingleTypeDeclaration.TypeDeclarationFlags = If(node.AttributeLists.Any(), 769SingleTypeDeclaration.TypeDeclarationFlags.HasAnyAttributes, 770SingleTypeDeclaration.TypeDeclarationFlags.None) 772declFlags = declFlags Or SingleTypeDeclaration.TypeDeclarationFlags.HasAnyNontypeMembers
Declarations\SingleTypeDeclaration.vb (6)
18Private ReadOnly _flags As TypeDeclarationFlags 36declFlags As TypeDeclarationFlags, 69Return (_flags And TypeDeclarationFlags.HasAnyAttributes) <> 0 75Return (_flags And TypeDeclarationFlags.HasBaseDeclarations) <> 0 81Return (_flags And TypeDeclarationFlags.HasAnyNontypeMembers) <> 0 87Return (_flags And TypeDeclarationFlags.AnyMemberHasAttributes) <> 0