4 instantiations of AggregateClauseSyntax
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Internal.Generated.vb (1)
26222Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.AggregateClauseSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (2)
4504Return New AggregateClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAggregateKeyword, newVariables.Node, newAdditionalQueryOperators.Node, newIntoKeyword, newAggregationVariables.Node) 38091Return New AggregateClauseSyntax(SyntaxKind.AggregateClause, Nothing, Nothing, DirectCast(aggregateKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node, additionalQueryOperators.Node, DirectCast(intoKeyword.Node, InternalSyntax.KeywordSyntax), aggregationVariables.Node)
Generated\Syntax.xml.Syntax.Generated.vb (1)
28274Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.AggregateClauseSyntax(kind, errors, annotations, aggregateKeyword, if(variables IsNot Nothing, variables.Green, Nothing), if(additionalQueryOperators IsNot Nothing, additionalQueryOperators.Green, Nothing), intoKeyword, if(aggregationVariables IsNot Nothing, aggregationVariables.Green, Nothing)), Nothing, 0)
95 references to AggregateClauseSyntax
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\ControlFlowGraphVerifier.cs (1)
735querySyntax.Clauses.AsSingleton() is VisualBasic.Syntax.AggregateClauseSyntax aggregate &&
Microsoft.CodeAnalysis.VisualBasic (44)
Binding\Binder_Query.vb (8)
150source = BindAggregateClause(source, DirectCast(current, AggregateClauseSyntax), operators, diagnostics) 198Dim aggregate = DirectCast(operators.Current, AggregateClauseSyntax) 301aggregate As AggregateClauseSyntax, 377aggregate As AggregateClauseSyntax, 1216Dim firstVariable = DirectCast(absorbNextOperator, AggregateClauseSyntax).Variables.First 1317Return CompleteAggregateClauseBinding(DirectCast(absorbNextOperator, AggregateClauseSyntax), 2978aggregate As AggregateClauseSyntax, 3148Dim aggregate = DirectCast(absorbNextOperator, AggregateClauseSyntax)
Binding\MemberSemanticModel.vb (3)
1002Friend Overrides Function GetAggregateClauseSymbolInfoWorker(node As AggregateClauseSyntax, Optional cancellationToken As CancellationToken = Nothing) As AggregateClauseSymbolInfo 1407binder = GetAggregateClauseLambdaBinder(DirectCast(node, AggregateClauseSyntax), position) 1417Private Function GetAggregateClauseLambdaBinder(aggregate As AggregateClauseSyntax, position As Integer) As Binder
Compilation\QuerySymbolInfo.vb (5)
26''' <see cref="CollectionRangeVariableSyntax"/> in <see cref="AggregateClauseSyntax"/>. 45''' The first of the two optional Select methods associated with <see cref="AggregateClauseSyntax"/>. 50''' The second of the two optional Select methods associated with <see cref="AggregateClauseSyntax"/>. 90aggregateSyntax As AggregateClauseSyntax, 110Friend MustOverride Function GetAggregateClauseSymbolInfoWorker(node As AggregateClauseSyntax, Optional cancellationToken As CancellationToken = Nothing) As AggregateClauseSymbolInfo
Compilation\SpeculativeSemanticModelWithMemberModel.vb (1)
269Friend Overrides Function GetAggregateClauseSymbolInfoWorker(node As AggregateClauseSyntax, Optional cancellationToken As CancellationToken = Nothing) As AggregateClauseSymbolInfo
Compilation\SyntaxTreeSemanticModel.vb (1)
417Friend Overrides Function GetAggregateClauseSymbolInfoWorker(node As AggregateClauseSyntax, Optional cancellationToken As CancellationToken = Nothing) As AggregateClauseSymbolInfo
Generated\Syntax.xml.Main.Generated.vb (6)
539Public Overridable Function VisitAggregateClause(ByVal node As AggregateClauseSyntax) As TResult 1274Public Overridable Sub VisitAggregateClause(ByVal node As AggregateClauseSyntax) 4489Public Overrides Function VisitAggregateClause(ByVal node As AggregateClauseSyntax) As SyntaxNode 38080Public Shared Function AggregateClause(aggregateKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalQueryOperators As SyntaxList(of QueryClauseSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregateClauseSyntax 38107Public Shared Function AggregateClause(variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalQueryOperators As SyntaxList(of QueryClauseSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregateClauseSyntax 38121Public Shared Function AggregateClause(variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregateClauseSyntax
Generated\Syntax.xml.Syntax.Generated.vb (9)
28291Public Shadows Function WithAggregateKeyword(aggregateKeyword as SyntaxToken) As AggregateClauseSyntax 28313Public Shadows Function WithVariables(variables as SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As AggregateClauseSyntax 28317Public Shadows Function AddVariables(ParamArray items As CollectionRangeVariableSyntax()) As AggregateClauseSyntax 28339Public Shadows Function WithAdditionalQueryOperators(additionalQueryOperators as SyntaxList(Of QueryClauseSyntax)) As AggregateClauseSyntax 28343Public Shadows Function AddAdditionalQueryOperators(ParamArray items As QueryClauseSyntax()) As AggregateClauseSyntax 28361Public Shadows Function WithIntoKeyword(intoKeyword as SyntaxToken) As AggregateClauseSyntax 28383Public Shadows Function WithAggregationVariables(aggregationVariables as SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregateClauseSyntax 28387Public Shadows Function AddAggregationVariables(ParamArray items As AggregationRangeVariableSyntax()) As AggregateClauseSyntax 28445Public Function Update(aggregateKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalQueryOperators As SyntaxList(of QueryClauseSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregateClauseSyntax
Lowering\Instrumentation\DebugInfoInjector.vb (1)
109Dim aggregateClause = DirectCast(original.Syntax.Parent.Parent, AggregateClauseSyntax)
Syntax\LambdaUtilities.vb (6)
182lambdaBody = GetAggregateLambdaBody(DirectCast(clause, AggregateClauseSyntax)) 193lambdaBody = GetAggregateLambdaBody(DirectCast(parentClause, AggregateClauseSyntax)) 248Friend Shared Function GetAggregateLambdaBody(aggregateClause As AggregateClauseSyntax) As VisualBasicSyntaxNode 405Dim aggregateClause = DirectCast(clause, AggregateClauseSyntax) 433Private Shared Function GetAggregateLambdaBodyExpressions(clause As AggregateClauseSyntax) As IEnumerable(Of SyntaxNode) 587Return DirectCast(clause, AggregateClauseSyntax).Variables
Syntax\SyntaxNodeExtensions.vb (1)
341Return DirectCast(syntax, AggregateClauseSyntax).AggregateKeyword
VisualBasicExtensions.vb (3)
1613aggregateSyntax As AggregateClauseSyntax, 1680''' <term><see cref="AggregateClauseSyntax"/></term> 1683''' Use <see cref="GetAggregateClauseSymbolInfo(SemanticModel, AggregateClauseSyntax, CancellationToken)"/> instead.
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (5)
ExpressionSyntaxExtensions.vb (1)
589Dim aggregateClause = TryCast(selectClause.Parent, AggregateClauseSyntax)
SpeculationAnalyzer.vb (4)
184Private Function QuerySymbolsAreCompatible(originalNode As AggregateClauseSyntax, newNode As AggregateClauseSyntax) As Boolean 398Dim originalAggregateSyntax = TryCast(currentOriginalNode, AggregateClauseSyntax) 400Dim newAggregateSyntax = DirectCast(currentReplacedNode, AggregateClauseSyntax)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (4)
SyntaxTreeExtensions.vb (4)
722If targetToken.Parent.FirstAncestorOrSelf(Of AggregateClauseSyntax)() Is Nothing AndAlso 728If targetToken.IsChildToken(Of AggregateClauseSyntax)(Function(a) a.IntoKeyword) OrElse 729targetToken.IsChildSeparatorToken(Of AggregateClauseSyntax, AggregationRangeVariableSyntax)(Function(a) a.AggregationVariables) OrElse 992Dim aggregateClause = TryCast(queryClause, AggregateClauseSyntax)
Microsoft.CodeAnalysis.VisualBasic.Features (13)
AddImport\VisualBasicAddImportFeatureService.vb (3)
239If TypeOf clause Is AggregateClauseSyntax Then 240Dim aggregateClause = DirectCast(clause, AggregateClauseSyntax) 266Dim aggregateClause = DirectCast(fromOrAggregateClause, AggregateClauseSyntax)
Completion\KeywordRecommenders\Queries\IntoKeywordRecommender.vb (1)
37Dim aggregateQuery = token.GetAncestor(Of AggregateClauseSyntax)()
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (3)
1444Dim oldInfo = oldModel.GetAggregateClauseSymbolInfo(DirectCast(oldNode, AggregateClauseSyntax), cancellationToken) 1445Dim newInfo = newModel.GetAggregateClauseSymbolInfo(DirectCast(newNode, AggregateClauseSyntax), cancellationToken) 1702Return DirectCast(node, AggregateClauseSyntax).AggregateKeyword.Span
LambdaUtilities.vb (6)
182lambdaBody = GetAggregateLambdaBody(DirectCast(clause, AggregateClauseSyntax)) 193lambdaBody = GetAggregateLambdaBody(DirectCast(parentClause, AggregateClauseSyntax)) 248Friend Shared Function GetAggregateLambdaBody(aggregateClause As AggregateClauseSyntax) As VisualBasicSyntaxNode 405Dim aggregateClause = DirectCast(clause, AggregateClauseSyntax) 433Private Shared Function GetAggregateLambdaBodyExpressions(clause As AggregateClauseSyntax) As IEnumerable(Of SyntaxNode) 587Return DirectCast(clause, AggregateClauseSyntax).Variables
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (16)
Semantics\QueryExpressions_SemanticModel.vb (16)
3409Dim node12 As AggregateClauseSyntax = CompilationUtils.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 12) 3423Dim node13 As AggregateClauseSyntax = CompilationUtils.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 13) 3565Dim node9 As AggregateClauseSyntax = CompilationUtils.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 9) 3584Dim node10 As AggregateClauseSyntax = CompilationUtils.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 10) 3595Dim node11 As AggregateClauseSyntax = CompilationUtils.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 11) 3608Dim node12 As AggregateClauseSyntax = CompilationUtils.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 12) 3746Dim node1 As AggregateClauseSyntax = CompilationUtils.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 1 + 2 * i) 3759Dim node2 As AggregateClauseSyntax = CompilationUtils.FindBindingText(Of AggregateClauseSyntax)(compilation, "a.vb", 2 + 2 * i)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
16511Private Shared Function GenerateRedAggregateClause() As AggregateClauseSyntax
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
ParserTestUtilities.vb (1)
939Public Overrides Sub VisitAggregateClause(node As AggregateClauseSyntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (9)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb\ExpressionSyntaxExtensions.vb (1)
589Dim aggregateClause = TryCast(selectClause.Parent, AggregateClauseSyntax)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (4)
722If targetToken.Parent.FirstAncestorOrSelf(Of AggregateClauseSyntax)() Is Nothing AndAlso 728If targetToken.IsChildToken(Of AggregateClauseSyntax)(Function(a) a.IntoKeyword) OrElse 729targetToken.IsChildSeparatorToken(Of AggregateClauseSyntax, AggregationRangeVariableSyntax)(Function(a) a.AggregationVariables) OrElse 992Dim aggregateClause = TryCast(queryClause, AggregateClauseSyntax)
SpeculationAnalyzer.vb (4)
184Private Function QuerySymbolsAreCompatible(originalNode As AggregateClauseSyntax, newNode As AggregateClauseSyntax) As Boolean 398Dim originalAggregateSyntax = TryCast(currentOriginalNode, AggregateClauseSyntax) 400Dim newAggregateSyntax = DirectCast(currentReplacedNode, AggregateClauseSyntax)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Help\VisualBasicHelpContextService.Visitor.vb (1)
109Public Overrides Sub VisitAggregateClause(node As AggregateClauseSyntax)