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