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