34 references to AttributesStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (18)
Generated\Syntax.xml.Main.Generated.vb (7)
212
Public Overridable Function VisitAttributesStatement(ByVal node As
AttributesStatementSyntax
) As TResult
947
Public Overridable Sub VisitAttributesStatement(ByVal node As
AttributesStatementSyntax
)
2686
Public Overrides Function VisitAttributesStatement(ByVal node As
AttributesStatementSyntax
) As SyntaxNode
6674
Public 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
6702
Public 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
12499
Public Shared Function AttributesStatement(attributeLists As SyntaxList(of AttributeListSyntax)) As
AttributesStatementSyntax
12508
Public Shared Function AttributesStatement() As
AttributesStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (8)
465
Public ReadOnly Property Attributes As SyntaxList(Of
AttributesStatementSyntax
)
468
Return new SyntaxList(Of
AttributesStatementSyntax
)(listNode)
477
Public Shadows Function WithAttributes(attributes as SyntaxList(Of
AttributesStatementSyntax
)) As CompilationUnitSyntax
481
Public Shadows Function AddAttributes(ParamArray items As
AttributesStatementSyntax
()) As CompilationUnitSyntax
590
Public 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
12444
Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As
AttributesStatementSyntax
12448
Public Shadows Function AddAttributeLists(ParamArray items As AttributeListSyntax()) As
AttributesStatementSyntax
12484
Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax)) As
AttributesStatementSyntax
SourceGeneration\VisualBasicSyntaxHelper.vb (2)
53
If TypeOf owningNode Is
AttributesStatementSyntax
Then
68
If TypeOf container Is
AttributesStatementSyntax
Then
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
227
Private Shared Sub AddAttributes(attributeStatements As SyntaxList(Of
AttributesStatementSyntax
), builder As ArrayBuilder(Of SyntaxNode))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1603
Return GetDeclarationCount(DirectCast(node,
AttributesStatementSyntax
).AttributeLists)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (2)
437
Private Shared Function RemoveAttributeFromAttributeStatements(attributeStatements As SyntaxList(Of
AttributesStatementSyntax
), attributeToRemove As SyntaxNode,
438
<Out> ByRef attributeRemoved As Boolean, <Out> ByRef positionOfRemovedNode As Integer, <Out> ByRef triviaOfRemovedNode As SyntaxTriviaList) As SyntaxList(Of
AttributesStatementSyntax
)
Microsoft.CodeAnalysis.VisualBasic.Features (5)
CodeFixes\MoveToTopOfFile\MoveToTopOfFileCodeFixProvider.vb (2)
83
Dim attributesStatement = DirectCast(node,
AttributesStatementSyntax
)
139
Private Shared Function CreateActionForAttribute(document As Document, node As
AttributesStatementSyntax
, root As CompilationUnitSyntax, cancellationToken As CancellationToken) As IEnumerable(Of CodeAction)
CodeFixes\Suppression\VisualBasicSuppressionCodeFixProvider.vb (2)
102
Dim attributesStatement = TryCast(node,
AttributesStatementSyntax
)
140
attributeStatement = CType(Formatter.Format(attributeStatement, services, options, cancellationToken),
AttributesStatementSyntax
)
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
227
Private Shared Sub AddAttributes(attributeStatements As SyntaxList(Of
AttributesStatementSyntax
), builder As ArrayBuilder(Of SyntaxNode))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
CodeGeneration\VisualBasicSyntaxGenerator.vb (2)
3532
Flatten(builder, DirectCast(member,
AttributesStatementSyntax
).AttributeLists)
3575
Dim attrStmt = TryCast(attrList.Parent,
AttributesStatementSyntax
)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1603
Return GetDeclarationCount(DirectCast(node,
AttributesStatementSyntax
).AttributeLists)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (2)
437
Private Shared Function RemoveAttributeFromAttributeStatements(attributeStatements As SyntaxList(Of
AttributesStatementSyntax
), attributeToRemove As SyntaxNode,
438
<Out> ByRef attributeRemoved As Boolean, <Out> ByRef positionOfRemovedNode As Integer, <Out> ByRef triviaOfRemovedNode As SyntaxTriviaList) As SyntaxList(Of
AttributesStatementSyntax
)
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1603
Return GetDeclarationCount(DirectCast(node,
AttributesStatementSyntax
).AttributeLists)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (2)
437
Private Shared Function RemoveAttributeFromAttributeStatements(attributeStatements As SyntaxList(Of
AttributesStatementSyntax
), attributeToRemove As SyntaxNode,
438
<Out> ByRef attributeRemoved As Boolean, <Out> ByRef positionOfRemovedNode As Integer, <Out> ByRef triviaOfRemovedNode As SyntaxTriviaList) As SyntaxList(Of
AttributesStatementSyntax
)