53 references to QuickAttributes
Microsoft.CodeAnalysis.VisualBasic (53)
Declarations\DeclarationTreeBuilder.vb (7)
25
Private _aliasedQuickAttributes As
QuickAttributes
128
quickAttributes:=
QuickAttributes
.None)
149
quickAttributes:=
QuickAttributes
.None)
233
Private Shared Function GetAliasedQuickAttributes(compilationUnit As CompilationUnitSyntax) As
QuickAttributes
234
Dim result =
QuickAttributes
.None
571
Private Shared Function GetQuickAttributes(attributeLists As SyntaxList(Of AttributeListSyntax)) As
QuickAttributes
572
Dim result =
QuickAttributes
.None
Declarations\MergedTypeDeclaration.vb (1)
67
Public Function GetAttributeDeclarations(Optional quickAttributes As
QuickAttributes
? = Nothing) As ImmutableArray(Of SyntaxList(Of AttributeListSyntax))
Declarations\SingleTypeDeclaration.vb (2)
22
Public ReadOnly QuickAttributes As
QuickAttributes
41
quickAttributes As
QuickAttributes
)
Symbols\Source\QuickAttributeChecker.vb (24)
22
Private ReadOnly _nameToAttributeMap As Dictionary(Of String,
QuickAttributes
)
28
_nameToAttributeMap = New Dictionary(Of String,
QuickAttributes
)(IdentifierComparison.Comparer)
32
_nameToAttributeMap = New Dictionary(Of String,
QuickAttributes
)(other._nameToAttributeMap, IdentifierComparison.Comparer)
38
Public Sub AddName(name As String, newAttributes As
QuickAttributes
)
41
Dim current =
QuickAttributes
.None
67
Dim current As
QuickAttributes
=
QuickAttributes
.None
81
Public Function CheckAttributes(attributeLists As SyntaxList(Of AttributeListSyntax)) As
QuickAttributes
84
Dim quickAttrs As
QuickAttributes
=
QuickAttributes
.None
97
Public Function CheckAttribute(attr As AttributeSyntax) As
QuickAttributes
101
Dim quickAttributes As
QuickAttributes
107
Return
QuickAttributes
.None
142
''' Returns the <see cref="
QuickAttributes
"/> that corresponds to the particular type
146
Public Shared Function GetQuickAttributes(name As String, inAttribute As Boolean) As
QuickAttributes
148
Debug.Assert(
QuickAttributes
.Last =
QuickAttributes
.TypeIdentifier)
150
Dim result =
QuickAttributes
.None
153
result = result Or
QuickAttributes
.Extension
155
result = result Or
QuickAttributes
.Obsolete
157
result = result Or
QuickAttributes
.Obsolete
159
result = result Or
QuickAttributes
.Obsolete
161
result = result Or
QuickAttributes
.TypeIdentifier
163
result = result Or
QuickAttributes
.MyGroupCollection
Symbols\Source\SourceDeclareMethodSymbol.vb (4)
23
Private ReadOnly _quickAttributes As
QuickAttributes
46
_quickAttributes = _quickAttributes And Not
QuickAttributes
.Extension
80
Return (_quickAttributes And
QuickAttributes
.Extension) <> 0
96
If (_quickAttributes And
QuickAttributes
.Obsolete) <> 0 Then
Symbols\Source\SourceMemberMethodSymbol.vb (5)
28
Private ReadOnly _quickAttributes As
QuickAttributes
87
_quickAttributes = _quickAttributes And Not
QuickAttributes
.Extension
149
Private Function GetQuickAttributes() As
QuickAttributes
164
Return (GetQuickAttributes() And
QuickAttributes
.Extension) <> 0
195
If (GetQuickAttributes() And
QuickAttributes
.Obsolete) <> 0 Then
Symbols\Source\SourceModuleSymbol.vb (6)
328
checker.AddName(AttributeDescription.CaseInsensitiveExtensionAttribute.Name,
QuickAttributes
.Extension)
329
checker.AddName(AttributeDescription.ObsoleteAttribute.Name,
QuickAttributes
.Obsolete)
330
checker.AddName(AttributeDescription.DeprecatedAttribute.Name,
QuickAttributes
.Obsolete)
331
checker.AddName(AttributeDescription.ExperimentalAttribute.Name,
QuickAttributes
.Obsolete)
332
checker.AddName(AttributeDescription.MyGroupCollectionAttribute.Name,
QuickAttributes
.MyGroupCollection)
333
checker.AddName(AttributeDescription.TypeIdentifierAttribute.Name,
QuickAttributes
.TypeIdentifier)
Symbols\Source\SourceNamedTypeSymbol.vb (3)
1808
Private Function GetAttributeDeclarations(Optional quickAttributes As
QuickAttributes
? = Nothing) As ImmutableArray(Of SyntaxList(Of AttributeListSyntax))
2338
Dim attributeLists As ImmutableArray(Of SyntaxList(Of AttributeListSyntax)) = GetAttributeDeclarations(
QuickAttributes
.TypeIdentifier)
2345
If (sourceFile.QuickAttributeChecker.CheckAttribute(attr) And
QuickAttributes
.TypeIdentifier) <> 0 Then
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
139
If (quickChecker.CheckAttribute(attr) And
QuickAttributes
.MyGroupCollection) <> 0 Then