4 instantiations of AttributesStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Internal.Generated.vb (1)
10658Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributesStatementSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (2)
2693Return New AttributesStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node) 12500Return New AttributesStatementSyntax(SyntaxKind.AttributesStatement, Nothing, Nothing, attributeLists.Node)
Generated\Syntax.xml.Syntax.Generated.vb (1)
12423Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.AttributesStatementSyntax(kind, errors, annotations, if(attributeLists IsNot Nothing, attributeLists.Green, Nothing)), Nothing, 0)
35 references to AttributesStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (17)
Generated\Syntax.xml.Main.Generated.vb (7)
212Public Overridable Function VisitAttributesStatement(ByVal node As AttributesStatementSyntax) As TResult 947Public Overridable Sub VisitAttributesStatement(ByVal node As AttributesStatementSyntax) 2686Public Overrides Function VisitAttributesStatement(ByVal node As AttributesStatementSyntax) As SyntaxNode 6674Public Shared Function CompilationUnit(options As SyntaxList(of OptionStatementSyntax), [imports] As SyntaxList(of ImportsStatementSyntax), attributes As SyntaxList(of AttributesStatementSyntax), members As SyntaxList(of StatementSyntax), endOfFileToken As SyntaxToken) As CompilationUnitSyntax 6702Public Shared Function CompilationUnit(options As SyntaxList(of OptionStatementSyntax), [imports] As SyntaxList(of ImportsStatementSyntax), attributes As SyntaxList(of AttributesStatementSyntax), members As SyntaxList(of StatementSyntax)) As CompilationUnitSyntax 12499Public Shared Function AttributesStatement(attributeLists As SyntaxList(of AttributeListSyntax)) As AttributesStatementSyntax 12508Public Shared Function AttributesStatement() As AttributesStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (8)
465Public ReadOnly Property Attributes As SyntaxList(Of AttributesStatementSyntax) 468Return new SyntaxList(Of AttributesStatementSyntax)(listNode) 477Public Shadows Function WithAttributes(attributes as SyntaxList(Of AttributesStatementSyntax)) As CompilationUnitSyntax 481Public Shadows Function AddAttributes(ParamArray items As AttributesStatementSyntax()) As CompilationUnitSyntax 590Public Function Update(options As SyntaxList(of OptionStatementSyntax), [imports] As SyntaxList(of ImportsStatementSyntax), attributes As SyntaxList(of AttributesStatementSyntax), members As SyntaxList(of StatementSyntax), endOfFileToken As SyntaxToken) As CompilationUnitSyntax 12444Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As AttributesStatementSyntax 12448Public Shadows Function AddAttributeLists(ParamArray items As AttributeListSyntax()) As AttributesStatementSyntax 12484Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax)) As AttributesStatementSyntax
SourceGeneration\VisualBasicSyntaxHelper.vb (1)
49If TypeOf container Is AttributesStatementSyntax Then
VisualBasicDeclarationComputer.vb (1)
174Private Shared Function GetAttributes(attributeStatements As SyntaxList(Of AttributesStatementSyntax)) As IEnumerable(Of SyntaxNode)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicSyntaxFacts.vb (1)
1641Return GetDeclarationCount(DirectCast(node, AttributesStatementSyntax).AttributeLists)
Microsoft.CodeAnalysis.VisualBasic.Features (5)
CodeFixes\MoveToTopOfFile\MoveToTopOfFileCodeFixProvider.vb (2)
82Dim attributesStatement = DirectCast(node, AttributesStatementSyntax) 138Private Shared Function CreateActionForAttribute(document As Document, node As AttributesStatementSyntax, root As CompilationUnitSyntax, cancellationToken As CancellationToken) As IEnumerable(Of CodeAction)
CodeFixes\Suppression\VisualBasicSuppressionCodeFixProvider.vb (2)
103Dim attributesStatement = TryCast(node, AttributesStatementSyntax) 141attributeStatement = CType(Formatter.Format(attributeStatement, services, options, cancellationToken), AttributesStatementSyntax)
VisualBasicDeclarationComputer.vb (1)
174Private Shared Function GetAttributes(attributeStatements As SyntaxList(Of AttributesStatementSyntax)) As IEnumerable(Of SyntaxNode)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (1)
11701Private Shared Function GenerateRedAttributesStatement() As AttributesStatementSyntax
Parser\ParseAttributes.vb (1)
44Dim attrStmt = DirectCast(root.ChildNodes(0), AttributesStatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
CodeGeneration\VisualBasicCodeGenerationService.vb (2)
439Private Shared Function RemoveAttributeFromAttributeStatements(attributeStatements As SyntaxList(Of AttributesStatementSyntax), attributeToRemove As SyntaxNode, 440<Out> ByRef attributeRemoved As Boolean, <Out> ByRef positionOfRemovedNode As Integer, <Out> ByRef triviaOfRemovedNode As SyntaxTriviaList) As SyntaxList(Of AttributesStatementSyntax)
CodeGeneration\VisualBasicSyntaxGenerator.vb (2)
3851Flatten(builder, DirectCast(member, AttributesStatementSyntax).AttributeLists) 3894Dim attrStmt = TryCast(attrList.Parent, AttributesStatementSyntax)
VisualBasicSyntaxFacts.vb (1)
1641Return GetDeclarationCount(DirectCast(node, AttributesStatementSyntax).AttributeLists)
Microsoft.VisualStudio.LanguageServices.VisualBasic (5)
CodeModel\VisualBasicCodeModelService.CodeModelEventCollector.vb (1)
77Private Shared Function GetAttributes(attributesStatements As SyntaxList(Of AttributesStatementSyntax)) As IReadOnlyList(Of AttributeSyntax)
CodeModel\VisualBasicCodeModelService.vb (4)
358Private Overloads Shared Function GetAttributeNodes(attributesStatementList As SyntaxList(Of AttributesStatementSyntax)) As IEnumerable(Of SyntaxNode) 3796Private Shared Function InsertAttributeListInto(attributes As SyntaxList(Of AttributesStatementSyntax), index As Integer, attribute As AttributesStatementSyntax) As SyntaxList(Of AttributesStatementSyntax)