71 references to Attribute
Microsoft.CodeAnalysis.VisualBasic (13)
Binding\AttributeSemanticModel.vb (1)
58Case SyntaxKind.Attribute
Binding\BinderFactory.vb (1)
660Debug.Assert(node.Kind = SyntaxKind.Attribute)
Compilation\SemanticModel.vb (1)
1426parentSyntax.Kind = SyntaxKind.Attribute AndAlso
Compilation\SyntaxTreeSemanticModel.vb (1)
1604If node.Kind = SyntaxKind.Attribute Then
Generated\Syntax.xml.Internal.Generated.vb (4)
45447Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.Attribute, target, name, argumentList, hash) 45452Dim result = New AttributeSyntax(SyntaxKind.Attribute, target, name, argumentList) 57525Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.Attribute, target, name, argumentList, _factoryContext, hash) 57530Dim result = New AttributeSyntax(SyntaxKind.Attribute, target, name, argumentList, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (1)
12438Return New AttributeSyntax(SyntaxKind.Attribute, Nothing, Nothing, target, name, argumentList)
Generated\Syntax.xml.Syntax.Generated.vb (1)
12147''' <item><description><see cref="SyntaxKind.Attribute"/></description></item>
Semantics\OverloadResolution.vb (1)
3418If parent.Kind = SyntaxKind.Attribute Then
Syntax\SyntaxFacts.vb (2)
98Case SyntaxKind.Attribute 643Case SyntaxKind.Attribute
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (7)
SpeculationAnalyzer.vb (2)
73node.Kind = SyntaxKind.Attribute OrElse 143Case SyntaxKind.Attribute
VisualBasicRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.vb (1)
24SyntaxKind.Attribute)
VisualBasicSyntaxFacts.vb (3)
163Return node.IsParentKind(SyntaxKind.Attribute) AndAlso 635identifierName.Parent.Parent.Parent.IsParentKind(SyntaxKind.Attribute) 1257If node.IsKind(SyntaxKind.Attribute) Then
VisualBasicSyntaxKinds.vb (1)
145Public ReadOnly Property Attribute As Integer = SyntaxKind.Attribute Implements ISyntaxKinds.Attribute
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
SyntaxTreeExtensions.vb (1)
471targetToken.Parent.Parent.IsKind(SyntaxKind.Attribute) Then
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
314ElseIf argumentList.IsParentKind(SyntaxKind.Attribute) Then
Microsoft.CodeAnalysis.VisualBasic.Features (14)
ChangeSignature\VisualBasicChangeSignatureService.vb (4)
61SyntaxKind.Attribute, 82SyntaxKind.Attribute, 286vbnode.IsKind(SyntaxKind.Attribute) OrElse 392If vbnode.IsKind(SyntaxKind.Attribute) Then
EditAndContinue\SyntaxComparer.vb (2)
854Case SyntaxKind.Attribute 1284Case SyntaxKind.Attribute
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (6)
1615SyntaxKind.Attribute 2019Case SyntaxKind.Attribute 2255SyntaxKind.Attribute, 2310Case SyntaxKind.Attribute 2346Case SyntaxKind.Attribute 2368Case SyntaxKind.Attribute
UseNamedArguments\VisualBasicUseNamedArgumentsCodeRefactoringProvider.vb (1)
30If argument.Parent.IsParentKind(SyntaxKind.Attribute) Then
VisualBasicRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.vb (1)
24SyntaxKind.Attribute)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Syntax\SyntaxFactsTest.vb (2)
267symNode = FindNodeOrTokenByKind(tree, SyntaxKind.Attribute, 1).AsNode 270symNode = FindNodeOrTokenByKind(tree, SyntaxKind.Attribute, 1).AsNode
Microsoft.CodeAnalysis.VisualBasic.Workspaces (20)
Classification\SyntaxClassification\NameSyntaxClassifier.vb (1)
64Return node.IsParentKind(SyntaxKind.Attribute)
CodeGeneration\VisualBasicSyntaxGenerator.vb (10)
1964Case SyntaxKind.Attribute 2032Case SyntaxKind.Attribute 2053Case SyntaxKind.Attribute 2142Case SyntaxKind.Attribute 2215Case SyntaxKind.Attribute 3536Case SyntaxKind.Attribute 3550Case SyntaxKind.Attribute 3686SyntaxKind.Attribute, 3899Case SyntaxKind.Attribute 3906If IsChildOf(node, SyntaxKind.ArgumentList) AndAlso IsChildOf(node.Parent, SyntaxKind.Attribute) Then
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
471targetToken.Parent.Parent.IsKind(SyntaxKind.Attribute) Then
Simplification\Simplifiers\NameSimplifier.vb (1)
369If name.Parent.Kind = SyntaxKind.Attribute OrElse name.IsRightSideOfDot() Then
SpeculationAnalyzer.vb (2)
73node.Kind = SyntaxKind.Attribute OrElse 143Case SyntaxKind.Attribute
VisualBasicSyntaxFacts.vb (3)
163Return node.IsParentKind(SyntaxKind.Attribute) AndAlso 635identifierName.Parent.Parent.Parent.IsParentKind(SyntaxKind.Attribute) 1257If node.IsKind(SyntaxKind.Attribute) Then
VisualBasicSyntaxKinds.vb (1)
145Public ReadOnly Property Attribute As Integer = SyntaxKind.Attribute Implements ISyntaxKinds.Attribute
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
314ElseIf argumentList.IsParentKind(SyntaxKind.Attribute) Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (3)
CodeGeneration\SyntaxGeneratorTests.vb (3)
3691Assert.Equal(SyntaxKind.Attribute, declX.Kind) 3692Assert.Equal(SyntaxKind.Attribute, declY.Kind) 3693Assert.Equal(SyntaxKind.Attribute, declZ.Kind)
Microsoft.VisualStudio.LanguageServices.VisualBasic (10)
CodeModel\VisualBasicCodeModelService.NodeLocator.vb (2)
108Case SyntaxKind.Attribute 198Case SyntaxKind.Attribute
CodeModel\VisualBasicCodeModelService.vb (8)
99Case SyntaxKind.Attribute, 248Case SyntaxKind.Attribute 569Case SyntaxKind.Attribute 887Case SyntaxKind.Attribute 964Case SyntaxKind.Attribute 1021Case SyntaxKind.Attribute 1308Case SyntaxKind.Attribute 1865Dim attribute = DirectCast(argument.Ancestors.FirstOrDefault(Function(n) n.Kind = SyntaxKind.Attribute), AttributeSyntax)