209 instantiations of SeparatedSyntaxList
Microsoft.CodeAnalysis (9)
Syntax\SeparatedSyntaxList.cs (6)
417return new SeparatedSyntaxList<TNode>(nodesWithSeps.InsertRange(insertionIndex, nodesToInsertWithSeparators)); 473return new SeparatedSyntaxList<TNode>(nodesWithSeps); 494return new SeparatedSyntaxList<TNode>(this.GetWithSeparators().Replace(nodeInList, newNode)); 555return new SeparatedSyntaxList<TNode>(nodesWithSeps.Replace(separatorToken, newSeparator)); 600return new SeparatedSyntaxList<SyntaxNode>(nodes._list); 605return new SeparatedSyntaxList<TNode>(nodes._list);
Syntax\SeparatedSyntaxListBuilder.cs (2)
107return new SeparatedSyntaxList<TNode>(); 117return new SeparatedSyntaxList<TDerived>();
Syntax\SyntaxListBuilderExtensions.cs (1)
50return new SeparatedSyntaxList<TNode>(new SyntaxNodeOrTokenList(listNode.CreateRed(), 0));
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
RegisterFixData.cs (1)
12public RegisterFixData() : this(new SeparatedSyntaxList<TArgumentSyntax>(), ImmutableArray<IMethodSymbol>.Empty, false)
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Query.cs (1)
905return MakeQueryInvocation(node, receiver, methodName, new SeparatedSyntaxList<TypeSyntax>(new SyntaxNodeOrTokenList(typeArgSyntax, 0)), ImmutableArray.Create(typeArg), ImmutableArray<BoundExpression>.Empty, diagnostics
Syntax\SyntaxFactory.cs (2)
1344return new SeparatedSyntaxList<TNode>(new SyntaxNodeOrTokenList(node, index: 0)); 1475return new SeparatedSyntaxList<TNode>(nodesAndTokens);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (2)
123private SeparatedSyntaxList<VariableDeclaratorSyntax> _currentNonDiscardVariables = new(); 231_currentNonDiscardVariables = new SeparatedSyntaxList<VariableDeclaratorSyntax>();
ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
247var list = new SeparatedSyntaxList<TupleElementSyntax>();
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (2)
53var ids = new SeparatedSyntaxList<ExpressionSyntax>().Add(id); 158var attributes = new SeparatedSyntaxList<AttributeSyntax>()
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (36)
Generated\Syntax.Test.xml.Generated.cs (30)
9999=> SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.LessThanToken), new SeparatedSyntaxList<TypeSyntax>(), SyntaxFactory.Token(SyntaxKind.GreaterThanToken)); 10011=> SyntaxFactory.ArrayRankSpecifier(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10020=> SyntaxFactory.FunctionPointerParameterList(SyntaxFactory.Token(SyntaxKind.LessThanToken), new SeparatedSyntaxList<FunctionPointerParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.GreaterThanToken)); 10026=> SyntaxFactory.FunctionPointerUnmanagedCallingConventionList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<FunctionPointerUnmanagedCallingConventionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10035=> SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<TupleElementSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10053=> SyntaxFactory.TupleExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<ArgumentSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10128=> SyntaxFactory.ArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<ArgumentSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10131=> SyntaxFactory.BracketedArgumentList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<ArgumentSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10161=> SyntaxFactory.InitializerExpression(SyntaxKind.ObjectInitializerExpression, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10176=> SyntaxFactory.AnonymousObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10212=> SyntaxFactory.OrderByClause(SyntaxFactory.Token(SyntaxKind.OrderByKeyword), new SeparatedSyntaxList<OrderingSyntax>()); 10254=> SyntaxFactory.PositionalPatternClause(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<SubpatternSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10257=> SyntaxFactory.PropertyPatternClause(SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SeparatedSyntaxList<SubpatternSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10281=> SyntaxFactory.ListPattern(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<PatternSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken), default(VariableDesignationSyntax)); 10311=> SyntaxFactory.VariableDeclaration(GenerateIdentifierName(), new SeparatedSyntaxList<VariableDeclaratorSyntax>()); 10326=> SyntaxFactory.ParenthesizedVariableDesignation(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<VariableDesignationSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10362=> SyntaxFactory.ForStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.ForKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), default(VariableDeclarationSyntax), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.SemicolonToken), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.SemicolonToken), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken), GenerateBlock()); 10407=> SyntaxFactory.SwitchExpression(GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.SwitchKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SeparatedSyntaxList<SwitchExpressionArmSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10443=> SyntaxFactory.AttributeList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), default(AttributeTargetSpecifierSyntax), new SeparatedSyntaxList<AttributeSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10452=> SyntaxFactory.AttributeArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<AttributeArgumentSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10461=> SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.LessThanToken), new SeparatedSyntaxList<TypeParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.GreaterThanToken)); 10479=> SyntaxFactory.EnumDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.EnumKeyword), SyntaxFactory.Identifier("Identifier"), default(BaseListSyntax), default(SyntaxToken), new SeparatedSyntaxList<EnumMemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10488=> SyntaxFactory.BaseList(SyntaxFactory.Token(SyntaxKind.ColonToken), new SeparatedSyntaxList<BaseTypeSyntax>()); 10497=> SyntaxFactory.TypeParameterConstraintClause(SyntaxFactory.Token(SyntaxKind.WhereKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.ColonToken), new SeparatedSyntaxList<TypeParameterConstraintSyntax>()); 10557=> SyntaxFactory.ParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<ParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10560=> SyntaxFactory.BracketedParameterList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<ParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10596=> SyntaxFactory.CrefParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<CrefParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10599=> SyntaxFactory.CrefBracketedParameterList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<CrefParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10686=> SyntaxFactory.PragmaWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.PragmaKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), SyntaxFactory.Token(SyntaxKind.DisableKeyword), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
Syntax\SeparatedSyntaxListTests.cs (6)
28new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 0)), 29new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 0))); 32new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 0)), 33new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 1))); 36new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node1, 0)), 37new SeparatedSyntaxList<CSharpSyntaxNode>(new SyntaxNodeOrTokenList(node2, 0)));
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (2)
123private SeparatedSyntaxList<VariableDeclaratorSyntax> _currentNonDiscardVariables = new(); 231_currentNonDiscardVariables = new SeparatedSyntaxList<VariableDeclaratorSyntax>();
ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
247var list = new SeparatedSyntaxList<TupleElementSyntax>();
Microsoft.CodeAnalysis.Features (1)
RegisterFixData.cs (1)
12public RegisterFixData() : this(new SeparatedSyntaxList<TArgumentSyntax>(), ImmutableArray<IMethodSymbol>.Empty, false)
Microsoft.CodeAnalysis.VisualBasic (46)
Generated\Syntax.xml.Syntax.Generated.vb (42)
793Return new SeparatedSyntaxList(Of ImportsClauseSyntax)(listNode, Me.GetChildIndex(1)) 2826Return new SeparatedSyntaxList(Of TypeSyntax)(listNode, Me.GetChildIndex(1)) 2944Return new SeparatedSyntaxList(Of TypeSyntax)(listNode, Me.GetChildIndex(1)) 4436Return new SeparatedSyntaxList(Of TypeParameterSyntax)(listNode, Me.GetChildIndex(2)) 4873Return new SeparatedSyntaxList(Of ConstraintSyntax)(listNode, Me.GetChildIndex(2)) 6487Return new SeparatedSyntaxList(Of ParameterSyntax)(listNode, Me.GetChildIndex(1)) 9226Return new SeparatedSyntaxList(Of QualifiedNameSyntax)(listNode, Me.GetChildIndex(1)) 9346Return new SeparatedSyntaxList(Of HandlesClauseItemSyntax)(listNode, Me.GetChildIndex(1)) 10132Return new SeparatedSyntaxList(Of VariableDeclaratorSyntax)(listNode, Me.GetChildIndex(2)) 10244Return new SeparatedSyntaxList(Of ModifiedIdentifierSyntax)(listNode, 0) 10769Return new SeparatedSyntaxList(Of FieldInitializerSyntax)(listNode, Me.GetChildIndex(2)) 12050Return new SeparatedSyntaxList(Of AttributeSyntax)(listNode, Me.GetChildIndex(1)) 13365Return new SeparatedSyntaxList(Of VariableDeclaratorSyntax)(listNode, Me.GetChildIndex(1)) 17288Return new SeparatedSyntaxList(Of CaseClauseSyntax)(listNode, Me.GetChildIndex(1)) 19709Return new SeparatedSyntaxList(Of ExpressionSyntax)(listNode, Me.GetChildIndex(1)) 19857Return new SeparatedSyntaxList(Of VariableDeclaratorSyntax)(listNode, Me.GetChildIndex(2)) 20921Return new SeparatedSyntaxList(Of RedimClauseSyntax)(listNode, Me.GetChildIndex(2)) 21167Return new SeparatedSyntaxList(Of ExpressionSyntax)(listNode, Me.GetChildIndex(1)) 21536Return new SeparatedSyntaxList(Of SimpleArgumentSyntax)(listNode, Me.GetChildIndex(1)) 21676Return new SeparatedSyntaxList(Of TupleElementSyntax)(listNode, Me.GetChildIndex(1)) 24022Return new SeparatedSyntaxList(Of ExpressionSyntax)(listNode, Me.GetChildIndex(1)) 26518Return new SeparatedSyntaxList(Of ArgumentSyntax)(listNode, Me.GetChildIndex(1)) 28062Return new SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(listNode, Me.GetChildIndex(1)) 28181Return new SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)(listNode, Me.GetChildIndex(1)) 28302Return new SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(listNode, Me.GetChildIndex(1)) 28372Return new SeparatedSyntaxList(Of AggregationRangeVariableSyntax)(listNode, Me.GetChildIndex(4)) 28959Return new SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)(listNode, Me.GetChildIndex(1)) 29002Return new SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)(listNode, Me.GetChildIndex(3)) 29042Return new SeparatedSyntaxList(Of AggregationRangeVariableSyntax)(listNode, Me.GetChildIndex(5)) 29178Return new SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(listNode, Me.GetChildIndex(1)) 29260Return new SeparatedSyntaxList(Of JoinConditionSyntax)(listNode, Me.GetChildIndex(4)) 29473Return new SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(listNode, Me.GetChildIndex(1)) 29572Return new SeparatedSyntaxList(Of JoinConditionSyntax)(listNode, Me.GetChildIndex(4)) 29742Return new SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(listNode, Me.GetChildIndex(2)) 29841Return new SeparatedSyntaxList(Of JoinConditionSyntax)(listNode, Me.GetChildIndex(5)) 29893Return new SeparatedSyntaxList(Of AggregationRangeVariableSyntax)(listNode, Me.GetChildIndex(7)) 30060Return new SeparatedSyntaxList(Of OrderingSyntax)(listNode, Me.GetChildIndex(2)) 30307Return new SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)(listNode, Me.GetChildIndex(1)) 33637Return new SeparatedSyntaxList(Of TypeSyntax)(listNode, Me.GetChildIndex(2)) 33919Return new SeparatedSyntaxList(Of CrefSignaturePartSyntax)(listNode, Me.GetChildIndex(1)) 37595Return new SeparatedSyntaxList(Of IdentifierNameSyntax)(listNode, Me.GetChildIndex(3)) 37755Return new SeparatedSyntaxList(Of IdentifierNameSyntax)(listNode, Me.GetChildIndex(3))
Syntax\SyntaxNodeFactories.vb (4)
861Return New SeparatedSyntaxList(Of TNode) 870Return New SeparatedSyntaxList(Of TNode)(node, 0) 950Return New SeparatedSyntaxList(Of TNode) 983Return New SeparatedSyntaxList(Of TNode)(nodesAndTokens)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
CodeFixes\Suppression\VisualBasicSuppressionCodeFixProvider.vb (1)
48Return New SeparatedSyntaxList(Of IdentifierNameSyntax)().Add(SyntaxFactory.IdentifierName(text))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (104)
Generated\Syntax.Test.xml.Generated.vb (98)
10299SyntaxFactory.InheritsStatement(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of TypeSyntax)()) 10306return SyntaxFactory.InheritsStatement(SyntaxFactory.Token(SyntaxKind.InheritsKeyword), New SeparatedSyntaxList(Of TypeSyntax)()) 10312SyntaxFactory.ImplementsStatement(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of TypeSyntax)()) 10319return SyntaxFactory.ImplementsStatement(SyntaxFactory.Token(SyntaxKind.ImplementsKeyword), New SeparatedSyntaxList(Of TypeSyntax)()) 10430SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.OfKeyword), New SeparatedSyntaxList(Of TypeParameterSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 10438SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of TypeParameterSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 10446SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), New SeparatedSyntaxList(Of TypeParameterSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword)) 10453return SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), New SeparatedSyntaxList(Of TypeParameterSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 10493SyntaxFactory.TypeParameterMultipleConstraintClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), New SeparatedSyntaxList(Of ConstraintSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 10501SyntaxFactory.TypeParameterMultipleConstraintClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of ConstraintSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 10509SyntaxFactory.TypeParameterMultipleConstraintClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), New SeparatedSyntaxList(Of ConstraintSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword)) 10516return SyntaxFactory.TypeParameterMultipleConstraintClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), New SeparatedSyntaxList(Of ConstraintSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 11298SyntaxFactory.ImplementsClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of QualifiedNameSyntax)()) 11305return SyntaxFactory.ImplementsClause(SyntaxFactory.Token(SyntaxKind.ImplementsKeyword), New SeparatedSyntaxList(Of QualifiedNameSyntax)()) 11311SyntaxFactory.HandlesClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of HandlesClauseItemSyntax)()) 11318return SyntaxFactory.HandlesClause(SyntaxFactory.Token(SyntaxKind.HandlesKeyword), New SeparatedSyntaxList(Of HandlesClauseItemSyntax)()) 11420return SyntaxFactory.FieldDeclaration(Nothing, Nothing, New SeparatedSyntaxList(Of VariableDeclaratorSyntax)()) 11425return SyntaxFactory.VariableDeclarator(New SeparatedSyntaxList(Of ModifiedIdentifierSyntax)(), Nothing, Nothing) 11473SyntaxFactory.ObjectMemberInitializer(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), New SeparatedSyntaxList(Of FieldInitializerSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 11481SyntaxFactory.ObjectMemberInitializer(SyntaxFactory.Token(SyntaxKind.WithKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of FieldInitializerSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 11489SyntaxFactory.ObjectMemberInitializer(SyntaxFactory.Token(SyntaxKind.WithKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), New SeparatedSyntaxList(Of FieldInitializerSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword)) 11496return SyntaxFactory.ObjectMemberInitializer(SyntaxFactory.Token(SyntaxKind.WithKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), New SeparatedSyntaxList(Of FieldInitializerSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 11826return SyntaxFactory.LocalDeclarationStatement(SyntaxTokenList.Create(SyntaxFactory.Token(SyntaxKind.StaticKeyword)), New SeparatedSyntaxList(Of VariableDeclaratorSyntax)()) 12816SyntaxFactory.CaseStatement(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of CaseClauseSyntax)()) 12823return SyntaxFactory.CaseStatement(SyntaxFactory.Token(SyntaxKind.CaseKeyword), New SeparatedSyntaxList(Of CaseClauseSyntax)()) 12829SyntaxFactory.CaseElseStatement(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of CaseClauseSyntax)()) 12836return SyntaxFactory.CaseElseStatement(SyntaxFactory.Token(SyntaxKind.CaseKeyword), New SeparatedSyntaxList(Of CaseClauseSyntax)()) 14119SyntaxFactory.ReDimStatement(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), Nothing, New SeparatedSyntaxList(Of RedimClauseSyntax)()) 14126return SyntaxFactory.ReDimStatement(SyntaxFactory.Token(SyntaxKind.ReDimKeyword), Nothing, New SeparatedSyntaxList(Of RedimClauseSyntax)()) 14132SyntaxFactory.ReDimPreserveStatement(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), Nothing, New SeparatedSyntaxList(Of RedimClauseSyntax)()) 14139return SyntaxFactory.ReDimPreserveStatement(SyntaxFactory.Token(SyntaxKind.ReDimKeyword), Nothing, New SeparatedSyntaxList(Of RedimClauseSyntax)()) 14166SyntaxFactory.EraseStatement(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of ExpressionSyntax)()) 14173return SyntaxFactory.EraseStatement(SyntaxFactory.Token(SyntaxKind.EraseKeyword), New SeparatedSyntaxList(Of ExpressionSyntax)()) 14299SyntaxFactory.TupleExpression(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of SimpleArgumentSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 14307SyntaxFactory.TupleExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), New SeparatedSyntaxList(Of SimpleArgumentSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword)) 14314return SyntaxFactory.TupleExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), New SeparatedSyntaxList(Of SimpleArgumentSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 14320SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of TupleElementSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 14328SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), New SeparatedSyntaxList(Of TupleElementSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword)) 14335return SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), New SeparatedSyntaxList(Of TupleElementSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 16488SyntaxFactory.FromClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)()) 16495return SyntaxFactory.FromClause(SyntaxFactory.Token(SyntaxKind.FromKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)()) 16501SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)()) 16508return SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.LetKeyword), New SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)()) 16514SyntaxFactory.AggregateClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.IntoKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16522SyntaxFactory.AggregateClause(SyntaxFactory.Token(SyntaxKind.AggregateKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16529return SyntaxFactory.AggregateClause(SyntaxFactory.Token(SyntaxKind.AggregateKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.IntoKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16701SyntaxFactory.GroupByClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.ByKeyword), New SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)(), SyntaxFactory.Token(SyntaxKind.IntoKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16709SyntaxFactory.GroupByClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)(), SyntaxFactory.Token(SyntaxKind.IntoKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16717SyntaxFactory.GroupByClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.ByKeyword), New SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16724return SyntaxFactory.GroupByClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.ByKeyword), New SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)(), SyntaxFactory.Token(SyntaxKind.IntoKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16759SyntaxFactory.SimpleJoinClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.OnKeyword), New SeparatedSyntaxList(Of JoinConditionSyntax)()) 16767SyntaxFactory.SimpleJoinClause(SyntaxFactory.Token(SyntaxKind.JoinKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of JoinConditionSyntax)()) 16774return SyntaxFactory.SimpleJoinClause(SyntaxFactory.Token(SyntaxKind.JoinKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.OnKeyword), New SeparatedSyntaxList(Of JoinConditionSyntax)()) 16780SyntaxFactory.GroupJoinClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.JoinKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.OnKeyword), New SeparatedSyntaxList(Of JoinConditionSyntax)(), SyntaxFactory.Token(SyntaxKind.IntoKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16788SyntaxFactory.GroupJoinClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.OnKeyword), New SeparatedSyntaxList(Of JoinConditionSyntax)(), SyntaxFactory.Token(SyntaxKind.IntoKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16796SyntaxFactory.GroupJoinClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), SyntaxFactory.Token(SyntaxKind.JoinKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of JoinConditionSyntax)(), SyntaxFactory.Token(SyntaxKind.IntoKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16804SyntaxFactory.GroupJoinClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), SyntaxFactory.Token(SyntaxKind.JoinKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.OnKeyword), New SeparatedSyntaxList(Of JoinConditionSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16811return SyntaxFactory.GroupJoinClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), SyntaxFactory.Token(SyntaxKind.JoinKeyword), New SeparatedSyntaxList(Of CollectionRangeVariableSyntax)(), Nothing, SyntaxFactory.Token(SyntaxKind.OnKeyword), New SeparatedSyntaxList(Of JoinConditionSyntax)(), SyntaxFactory.Token(SyntaxKind.IntoKeyword), New SeparatedSyntaxList(Of AggregationRangeVariableSyntax)()) 16817SyntaxFactory.OrderByClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.ByKeyword), New SeparatedSyntaxList(Of OrderingSyntax)()) 16825SyntaxFactory.OrderByClause(SyntaxFactory.Token(SyntaxKind.OrderKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of OrderingSyntax)()) 16832return SyntaxFactory.OrderByClause(SyntaxFactory.Token(SyntaxKind.OrderKeyword), SyntaxFactory.Token(SyntaxKind.ByKeyword), New SeparatedSyntaxList(Of OrderingSyntax)()) 16864SyntaxFactory.SelectClause(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)()) 16871return SyntaxFactory.SelectClause(SyntaxFactory.Token(SyntaxKind.SelectKeyword), New SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)()) 17442SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.OfKeyword), New SeparatedSyntaxList(Of TypeSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 17450SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of TypeSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 17458SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), New SeparatedSyntaxList(Of TypeSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword)) 17465return SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), New SeparatedSyntaxList(Of TypeSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 17484SyntaxFactory.CrefSignature(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of CrefSignaturePartSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 17492SyntaxFactory.CrefSignature(SyntaxFactory.Token(SyntaxKind.OpenParenToken), New SeparatedSyntaxList(Of CrefSignaturePartSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword)) 17499return SyntaxFactory.CrefSignature(SyntaxFactory.Token(SyntaxKind.OpenParenToken), New SeparatedSyntaxList(Of CrefSignaturePartSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 18358SyntaxFactory.EnableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.EnableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), New SeparatedSyntaxList(Of IdentifierNameSyntax)()) 18366SyntaxFactory.EnableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), New SeparatedSyntaxList(Of IdentifierNameSyntax)()) 18374SyntaxFactory.EnableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.EnableKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of IdentifierNameSyntax)()) 18381return SyntaxFactory.EnableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.EnableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), New SeparatedSyntaxList(Of IdentifierNameSyntax)()) 18387SyntaxFactory.DisableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.DisableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), New SeparatedSyntaxList(Of IdentifierNameSyntax)()) 18395SyntaxFactory.DisableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), New SeparatedSyntaxList(Of IdentifierNameSyntax)()) 18403SyntaxFactory.DisableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.DisableKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of IdentifierNameSyntax)()) 18410return SyntaxFactory.DisableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.DisableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), New SeparatedSyntaxList(Of IdentifierNameSyntax)())
TestSyntaxNodes.vb (6)
421Dim handlesClause = SyntaxFactory.HandlesClause(SyntaxFactory.Token(SyntaxKind.HandlesKeyword, trailing:=_spaceTrivia), New SeparatedSyntaxList(Of HandlesClauseItemSyntax)(listBldr.ToList)) 432Dim declarator = SyntaxFactory.VariableDeclarator(New SeparatedSyntaxList(Of ModifiedIdentifierSyntax)(listBldr.ToList), Nothing, Nothing) 576CheckEmptySeparatedList(New SeparatedSyntaxList(Of TypeSyntax)(DirectCast(Nothing, VisualBasicSyntaxNode), 0)) 605CheckSingletonSeparatedList(New SeparatedSyntaxList(Of TypeSyntax)(New SyntaxNodeOrTokenList(CreateSimpleTypeName("goo"), 0)), 0) 881New SeparatedSyntaxList(Of ParameterSyntax)(bldr.ToList()), 1040New SeparatedSyntaxList(Of ParameterSyntax)(bldr.ToList),
904 references to SeparatedSyntaxList
Microsoft.CodeAnalysis (33)
SourceGeneration\ISyntaxHelper.cs (2)
23SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node); 59public abstract SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node);
Syntax\SeparatedSyntaxList.cs (21)
15public readonly partial struct SeparatedSyntaxList<TNode> : IEquatable<SeparatedSyntaxList<TNode>>, IReadOnlyList<TNode> where TNode : SyntaxNode 305public static bool operator ==(SeparatedSyntaxList<TNode> left, SeparatedSyntaxList<TNode> right) 310public static bool operator !=(SeparatedSyntaxList<TNode> left, SeparatedSyntaxList<TNode> right) 315public bool Equals(SeparatedSyntaxList<TNode> other) 322return (obj is SeparatedSyntaxList<TNode> list) && Equals(list); 334public SeparatedSyntaxList<TNode> Add(TNode node) 343public SeparatedSyntaxList<TNode> AddRange(IEnumerable<TNode> nodes) 353public SeparatedSyntaxList<TNode> Insert(int index, TNode node) 368public SeparatedSyntaxList<TNode> InsertRange(int index, IEnumerable<TNode> nodes) 440public SeparatedSyntaxList<TNode> RemoveAt(int index) 454public SeparatedSyntaxList<TNode> Remove(TNode node) 484public SeparatedSyntaxList<TNode> Replace(TNode nodeInList, TNode newNode) 505public SeparatedSyntaxList<TNode> ReplaceRange(TNode nodeInList, IEnumerable<TNode> newNodes) 521var listWithFirstReplaced = this.Replace(nodeInList, newNodeList[0]); 540public SeparatedSyntaxList<TNode> ReplaceSeparator(SyntaxToken separatorToken, SyntaxToken newSeparator) 598public static implicit operator SeparatedSyntaxList<SyntaxNode>(SeparatedSyntaxList<TNode> nodes) 603public static implicit operator SeparatedSyntaxList<TNode>(SeparatedSyntaxList<SyntaxNode> nodes)
Syntax\SeparatedSyntaxList.Enumerator.cs (3)
20private readonly SeparatedSyntaxList<TNode> _list; 23internal Enumerator(in SeparatedSyntaxList<TNode> list) 70internal EnumeratorImpl(in SeparatedSyntaxList<TNode> list)
Syntax\SeparatedSyntaxListBuilder.cs (6)
85public SeparatedSyntaxListBuilder<TNode> AddRange(in SeparatedSyntaxList<TNode> nodes) 94public SeparatedSyntaxListBuilder<TNode> AddRange(in SeparatedSyntaxList<TNode> nodes, int count) 103public SeparatedSyntaxList<TNode> ToList() 113public SeparatedSyntaxList<TDerived> ToList<TDerived>() where TDerived : TNode 128public static implicit operator SeparatedSyntaxList<TNode>(in SeparatedSyntaxListBuilder<TNode> builder) 135return default(SeparatedSyntaxList<TNode>);
Syntax\SyntaxListBuilderExtensions.cs (1)
42public static SeparatedSyntaxList<TNode> ToSeparatedList<TNode>(this SyntaxListBuilder? builder) where TNode : SyntaxNode
Microsoft.CodeAnalysis.CodeStyle (27)
AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
243if (SyntaxFacts.IsPragmaDirective(trivia, out var isDisable, out var isActive, out var errorCodeNodes) &&
AbstractUseCoalesceExpressionForIfNullCheckDiagnosticAnalyzer.cs (1)
143var declarators = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement);
AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (1)
147var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(expression);
AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (1)
89var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
AbstractUseNullPropagationDiagnosticAnalyzer.cs (1)
282var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
AbstractValidateFormatStringDiagnosticAnalyzer.cs (6)
64protected abstract SyntaxNode? TryGetMatchingNamedArgument(SeparatedSyntaxList<SyntaxNode> arguments, string searchArgumentName); 104var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(context.Node); 182SeparatedSyntaxList<SyntaxNode> arguments, 192SeparatedSyntaxList<SyntaxNode> arguments, 209SeparatedSyntaxList<SyntaxNode> arguments, 258SeparatedSyntaxList<SyntaxNode> arguments,
ISyntaxFacts.cs (11)
183bool IsPragmaDirective(SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes); 205out SyntaxToken openParen, out SeparatedSyntaxList<TArgumentSyntax> arguments, out SyntaxToken closeParen) where TArgumentSyntax : SyntaxNode; 317SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(SyntaxNode? genericName); 321SeparatedSyntaxList<SyntaxNode> GetArgumentsOfObjectCreationExpression(SyntaxNode node); 322SeparatedSyntaxList<SyntaxNode> GetArgumentsOfArgumentList(SyntaxNode node); 323SeparatedSyntaxList<SyntaxNode> GetArgumentsOfAttributeArgumentList(SyntaxNode node); 360SeparatedSyntaxList<SyntaxNode> GetVariablesOfLocalDeclarationStatement(SyntaxNode node); 512void GetPartsOfArgumentList(SyntaxNode node, out SyntaxToken openParenToken, out SeparatedSyntaxList<SyntaxNode> arguments, out SyntaxToken closeParenToken); 520void GetPartsOfGenericName(SyntaxNode node, out SyntaxToken identifier, out SeparatedSyntaxList<SyntaxNode> typeArguments); 553SeparatedSyntaxList<SyntaxNode> GetInitializersOfObjectMemberInitializer(SyntaxNode node); 554SeparatedSyntaxList<SyntaxNode> GetExpressionsOfObjectCollectionInitializer(SyntaxNode node);
ISyntaxFactsExtensions.cs (3)
497public static SeparatedSyntaxList<SyntaxNode> GetArgumentsOfInvocationExpression(this ISyntaxFacts syntaxFacts, SyntaxNode node) 590public static SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(this ISyntaxFacts syntaxFacts, SyntaxNode node) 592syntaxFacts.GetPartsOfGenericName(node, out _, out var typeArguments);
UseCollectionInitializerAnalyzer.cs (2)
164var elementAccessArguments = _syntaxFacts.GetArgumentsOfArgumentList(argumentList); 191var arguments = _syntaxFacts.GetArgumentsOfInvocationExpression(invocationExpression);
Microsoft.CodeAnalysis.CodeStyle.Fixes (20)
AbstractAddParameterCodeFixProvider.cs (9)
124var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfInvocationExpression(invocationExpression); 173var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfObjectCreationExpression(objectCreation); 186SeparatedSyntaxList<TArgumentSyntax> arguments, 230SeparatedSyntaxList<TArgumentSyntax> arguments, 320SeparatedSyntaxList<TArgumentSyntax> arguments, 368SeparatedSyntaxList<TArgumentSyntax> argumentList, 433SeparatedSyntaxList<TArgumentSyntax> arguments)
AbstractMoveDeclarationNearReferenceService.State.cs (1)
64var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(DeclarationStatement);
AbstractRemoveUnusedValuesCodeFixProvider.cs (3)
604if (ShouldRemoveStatement(localDeclarationStatement, out var variables)) 624var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement); 714bool ShouldRemoveStatement(TLocalDeclarationStatementSyntax localDeclarationStatement, out SeparatedSyntaxList<SyntaxNode> variables)
AbstractSimplifyLinqExpressionCodeFixProvider`3.cs (2)
60(TExpressionSyntax Expression, TSimpleNameSyntax Name, SeparatedSyntaxList<SyntaxNode> Arguments) FindNodes(TInvocationExpressionSyntax current) 65var arguments = SyntaxFacts.GetArgumentsOfInvocationExpression(whereExpression);
AbstractUseIsNullForReferenceEqualsCodeFixProvider.cs (1)
68var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
Fixer.cs (2)
26protected abstract SeparatedSyntaxList<TArgumentSyntax> GetArgumentsOfArgumentList(TArgumentListSyntax argumentList); 127var arguments = GetArgumentsOfArgumentList(argumentList);
RegisterFixData.cs (2)
16public RegisterFixData(SeparatedSyntaxList<TArgumentSyntax> arguments, ImmutableArray<IMethodSymbol> methodCandidates, bool isConstructorInitializer) 23public SeparatedSyntaxList<TArgumentSyntax> Arguments { get; }
Microsoft.CodeAnalysis.CSharp (95)
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
99var result = BindMemberOfType(node, node, name, 0, indexed: false, receiver, default(SeparatedSyntaxList<TypeSyntax>), default(ImmutableArray<TypeWithAnnotations>), lookupResult, BoundMethodGroupFlags.None, diagnostics);
Binder\Binder_AnonymousTypes.cs (1)
26var initializers = node.Initializers;
Binder\Binder_Await.cs (1)
371var qualified = BindInstanceMemberAccess(node, node, receiver, name, 0, default(SeparatedSyntaxList<TypeSyntax>), default(ImmutableArray<TypeWithAnnotations>), invoked: false, indexed: false, diagnostics);
Binder\Binder_Constraints.cs (1)
123SeparatedSyntaxList<TypeParameterConstraintSyntax> constraintsSyntax = constraintClauseSyntax.Constraints;
Binder\Binder_Crefs.cs (1)
886SeparatedSyntaxList<TypeSyntax> typeArgumentSyntaxes = typeArgumentListSyntax.Arguments;
Binder\Binder_Deconstruct.cs (1)
654typeArgumentsSyntax: default(SeparatedSyntaxList<TypeSyntax>),
Binder\Binder_Expressions.cs (14)
963SeparatedSyntaxList<ArgumentSyntax> arguments = node.Arguments; 1043SeparatedSyntaxList<ArgumentSyntax> arguments, BindingDiagnosticBag diagnostics) 1495SeparatedSyntaxList<TypeSyntax> typeArgumentList = node.Kind() == SyntaxKind.GenericName 1497: default(SeparatedSyntaxList<TypeSyntax>); 3357var dimension = rank.Sizes; 5442var elementInitializerExpressions = elementInitializer.Expressions; 6471SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax = right.Kind() == SyntaxKind.GenericName ? 6473default(SeparatedSyntaxList<TypeSyntax>); 6594var typeArgumentsSyntax = right.Kind() == SyntaxKind.GenericName ? ((GenericNameSyntax)right).TypeArgumentList.Arguments : default(SeparatedSyntaxList<TypeSyntax>); 6690SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, 6764SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, 6860SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, 7157SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax,
Binder\Binder_Invocation.cs (2)
83SeparatedSyntaxList<TypeSyntax> typeArgsSyntax = default(SeparatedSyntaxList<TypeSyntax>),
Binder\Binder_Lambda.cs (3)
54SeparatedSyntaxList<ParameterSyntax>? parameterSyntaxList = null; 248static ImmutableArray<bool> computeDiscards(SeparatedSyntaxList<ParameterSyntax> parameters, int underscoresCount) 309SeparatedSyntaxList<ParameterSyntax> parameterSyntaxList, BindingDiagnosticBag diagnostics)
Binder\Binder_Patterns.cs (2)
259SeparatedSyntaxList<PatternSyntax> subpatterns, 1546typeArgumentsSyntax: default(SeparatedSyntaxList<TypeSyntax>),
Binder\Binder_Query.cs (3)
879return MakeQueryInvocation(node, receiver, methodName, default(SeparatedSyntaxList<TypeSyntax>), default(ImmutableArray<TypeWithAnnotations>), ImmutableArray.Create(arg), diagnostics 892return MakeQueryInvocation(node, receiver, methodName, default(SeparatedSyntaxList<TypeSyntax>), default(ImmutableArray<TypeWithAnnotations>), args, diagnostics 912protected BoundCall MakeQueryInvocation(CSharpSyntaxNode node, BoundExpression receiver, string methodName, SeparatedSyntaxList<TypeSyntax> typeArgsSyntax, ImmutableArray<TypeWithAnnotations> typeArgs, ImmutableArray<BoundExpression> args, BindingDiagnosticBag diagnostics
Binder\Binder_Statements.cs (3)
725var variableList = node.Declaration.Variables; 2724var variables = nodeOpt.Variables; 2754internal BoundStatement BindStatementExpressionList(SeparatedSyntaxList<ExpressionSyntax> statements, BindingDiagnosticBag diagnostics)
Binder\Binder_Symbols.cs (6)
659var dimension = rankSpecifier.Sizes; 1202SeparatedSyntaxList<TypeSyntax> typeArguments = node.TypeArgumentList.Arguments; 1335private ImmutableArray<TypeWithAnnotations> BindTypeArguments(SeparatedSyntaxList<TypeSyntax> typeArguments, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null) 1370private NamedTypeSymbol ConstructNamedTypeUnlessTypeArgumentOmitted(SyntaxNode typeSyntax, NamedTypeSymbol type, SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, ImmutableArray<TypeWithAnnotations> typeArguments, BindingDiagnosticBag diagnostics) 1397SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, 1554SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax,
Binder\ExpressionListVariableBinder.cs (2)
18private readonly SeparatedSyntaxList<ExpressionSyntax> _expressions; 20internal ExpressionListVariableBinder(SeparatedSyntaxList<ExpressionSyntax> expressions, Binder next) : base(next)
Binder\ExpressionVariableFinder.cs (2)
122SeparatedSyntaxList<ExpressionSyntax> nodes) 517SeparatedSyntaxList<ExpressionSyntax> nodes)
Binder\ForLoopBinder.cs (1)
102SeparatedSyntaxList<ExpressionSyntax> incrementors = node.Incrementors;
Binder\LocalBinderFactory.cs (1)
584SeparatedSyntaxList<ExpressionSyntax> incrementors = node.Incrementors;
Binder\TypeofBinder.cs (1)
74SeparatedSyntaxList<TypeSyntax> typeArguments = node.TypeArgumentList.Arguments;
Binder\WithCrefTypeParametersBinder.cs (1)
119SeparatedSyntaxList<TypeSyntax> typeArguments = genericNameSyntax.TypeArgumentList.Arguments;
BoundTree\UnboundLambda.cs (3)
402SeparatedSyntaxList<ParameterSyntax>? syntaxList, 1397private readonly SeparatedSyntaxList<ParameterSyntax>? _parameterSyntaxList; 1413SeparatedSyntaxList<ParameterSyntax>? parameterSyntaxList,
CSharpExtensions.cs (4)
104public static int IndexOf<TNode>(this SeparatedSyntaxList<TNode> list, SyntaxKind kind) 113public static bool Any<TNode>(this SeparatedSyntaxList<TNode> list, SyntaxKind kind) 348/// Returns this list as a <see cref="Microsoft.CodeAnalysis.SeparatedSyntaxList&lt;TNode&gt;"/>. 352internal static SeparatedSyntaxList<TOther> AsSeparatedList<TOther>(this SyntaxNodeOrTokenList list) where TOther : SyntaxNode
Declarations\DeclarationTreeBuilder.cs (2)
739var members = node.Members; 800private static ImmutableSegmentedDictionary<string, VoidResult> GetEnumMemberNames(SeparatedSyntaxList<EnumMemberDeclarationSyntax> members, ref SingleTypeDeclaration.TypeDeclarationFlags declFlags)
SourceGeneration\CSharpSyntaxHelper.cs (1)
57public override SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node)
Symbols\ConstraintsHelper.cs (1)
628SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, // may be omitted in synthesized invocations
Symbols\Source\LocalFunctionSymbol.cs (1)
376var typeParameters = Syntax.TypeParameterList?.Parameters ?? default;
Symbols\Source\ParameterHelpers.cs (2)
65SeparatedSyntaxList<FunctionPointerParameterSyntax> parametersList, 114SeparatedSyntaxList<TParameterSyntax> parametersList,
Symbols\Source\SourceFixedFieldSymbol.cs (1)
70SeparatedSyntaxList<ArgumentSyntax> arguments = declarator.ArgumentList.Arguments;
Symbols\Source\SourceNamedTypeSymbol.cs (1)
59SeparatedSyntaxList<BaseTypeSyntax> inheritedTypeDecls = bases.Types;
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
56var types = bases.Types;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
547var typeParameters = syntax.TypeParameterList.Parameters;
Symbols\Symbol_Attributes.cs (1)
601var attributesToBind = attributeDeclarationSyntax.Attributes;
Syntax\CSharpSyntaxRewriter.cs (2)
171public virtual SeparatedSyntaxList<TNode> VisitList<TNode>(SeparatedSyntaxList<TNode> list) where TNode : SyntaxNode
Syntax\ForStatementSyntax.cs (6)
11public ForStatementSyntax Update(SyntaxToken forKeyword, SyntaxToken openParenToken, VariableDeclarationSyntax? declaration, SeparatedSyntaxList<ExpressionSyntax> initializers, SyntaxToken firstSemicolonToken, ExpressionSyntax? condition, SyntaxToken secondSemicolonToken, SeparatedSyntaxList<ExpressionSyntax> incrementors, SyntaxToken closeParenToken, StatementSyntax statement) 20public static ForStatementSyntax ForStatement(VariableDeclarationSyntax? declaration, SeparatedSyntaxList<ExpressionSyntax> initializers, ExpressionSyntax? condition, SeparatedSyntaxList<ExpressionSyntax> incrementors, StatementSyntax statement) 23public static ForStatementSyntax ForStatement(SyntaxToken forKeyword, SyntaxToken openParenToken, VariableDeclarationSyntax? declaration, SeparatedSyntaxList<ExpressionSyntax> initializers, SyntaxToken firstSemicolonToken, ExpressionSyntax? condition, SyntaxToken secondSemicolonToken, SeparatedSyntaxList<ExpressionSyntax> incrementors, SyntaxToken closeParenToken, StatementSyntax statement)
Syntax\LambdaUtilities.cs (1)
445SeparatedSyntaxList<ExpressionSyntax> incrementors = ((ForStatementSyntax)node.Parent).Incrementors;
Syntax\SyntaxFactory.cs (16)
1332public static SeparatedSyntaxList<TNode> SeparatedList<TNode>() where TNode : SyntaxNode 1334return default(SeparatedSyntaxList<TNode>); 1342public static SeparatedSyntaxList<TNode> SingletonSeparatedList<TNode>(TNode node) where TNode : SyntaxNode 1352public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(IEnumerable<TNode>? nodes) where TNode : SyntaxNode 1356return default(SeparatedSyntaxList<TNode>); 1363return default(SeparatedSyntaxList<TNode>); 1370return default(SeparatedSyntaxList<TNode>); 1404public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(IEnumerable<TNode>? nodes, IEnumerable<SyntaxToken>? separators) where TNode : SyntaxNode 1444return default(SeparatedSyntaxList<TNode>); 1452public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(IEnumerable<SyntaxNodeOrToken> nodesAndTokens) where TNode : SyntaxNode 1463public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(SyntaxNodeOrTokenList nodesAndTokens) where TNode : SyntaxNode 2031public static bool AreEquivalent<TNode>(SeparatedSyntaxList<TNode> oldList, SeparatedSyntaxList<TNode> newList, bool topLevel) 2046public static bool AreEquivalent<TNode>(SeparatedSyntaxList<TNode> oldList, SeparatedSyntaxList<TNode> newList, Func<SyntaxKind, bool>? ignoreChildNode = null) 2917public static EnumDeclarationSyntax EnumDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken identifier, BaseListSyntax? baseList, SeparatedSyntaxList<EnumMemberDeclarationSyntax> members)
Syntax\SyntaxNodeRemover.cs (2)
207public override SeparatedSyntaxList<TNode> VisitList<TNode>(SeparatedSyntaxList<TNode> list)
Syntax\SyntaxReplacer.cs (2)
394public override SeparatedSyntaxList<TNode> VisitList<TNode>(SeparatedSyntaxList<TNode> list)
Microsoft.CodeAnalysis.CSharp.CodeStyle (23)
CSharpInferredMemberNameSimplifier.cs (2)
62private static bool RemovalCausesAmbiguity(SeparatedSyntaxList<ArgumentSyntax> arguments, ArgumentSyntax toRemove) 84private static bool RemovalCausesAmbiguity(SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax> initializers, AnonymousObjectMemberDeclaratorSyntax toRemove)
CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (3)
97var parameters = GetParameters(anonymousFunction); 144var invokedTypeArguments = invokedExpression.GetRightmostName() is GenericNameSyntax genericName 269private static SeparatedSyntaxList<ParameterSyntax> GetParameters(AnonymousFunctionExpressionSyntax expression)
CSharpSyntaxFacts.cs (12)
553public SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(SyntaxNode? genericName) 1192public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfObjectCreationExpression(SyntaxNode objectCreationExpression) 1197public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfArgumentList(SyntaxNode argumentList) 1200public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfAttributeArgumentList(SyntaxNode argumentList) 1212public bool IsPragmaDirective(SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes) 1360out SyntaxToken openParen, out SeparatedSyntaxList<TArgumentSyntax> arguments, out SyntaxToken closeParen) where TArgumentSyntax : SyntaxNode 1364arguments = (SeparatedSyntaxList<SyntaxNode>)tupleExpression.Arguments; 1381public SeparatedSyntaxList<SyntaxNode> GetVariablesOfLocalDeclarationStatement(SyntaxNode node) 1569public void GetPartsOfArgumentList(SyntaxNode node, out SyntaxToken openParenToken, out SeparatedSyntaxList<SyntaxNode> arguments, out SyntaxToken closeParenToken) 1617public void GetPartsOfGenericName(SyntaxNode node, out SyntaxToken identifier, out SeparatedSyntaxList<SyntaxNode> typeArguments) 1718public SeparatedSyntaxList<SyntaxNode> GetInitializersOfObjectMemberInitializer(SyntaxNode node) 1721public SeparatedSyntaxList<SyntaxNode> GetExpressionsOfObjectCollectionInitializer(SyntaxNode node)
CSharpUseRangeOperatorDiagnosticAnalyzer.cs (1)
257var arguments = invocation.ArgumentList.Arguments;
CSharpValidateFormatStringDiagnosticAnalyzer.cs (1)
22SeparatedSyntaxList<SyntaxNode> arguments,
ILocalSymbolExtensions.cs (1)
32SeparatedSyntaxList<TypeParameterSyntax>? typeParameters;
SpeculationAnalyzer.cs (2)
191var originalParams = originalParenthesizedLambda.ParameterList.Parameters; 198var replacedParams = replacedParenthesizedLambda.ParameterList.Parameters;
SyntaxTriviaExtensions.cs (1)
201public static bool IsPragmaDirective(this SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (21)
ArgumentFixer.cs (1)
26protected override SeparatedSyntaxList<ArgumentSyntax> GetArgumentsOfArgumentList(ArgumentListSyntax argumentList)
AttributeArgumentFixer.cs (1)
26protected override SeparatedSyntaxList<AttributeArgumentSyntax> GetArgumentsOfArgumentList(AttributeArgumentListSyntax argumentList)
ConvertToRecordEngine.cs (1)
305var typeList = baseList.Types;
CSharpAddParameterCodeFixProvider.cs (1)
76var arguments = constructorInitializer.ArgumentList.Arguments;
CSharpCodeGenerationService.cs (2)
449var attributes = attributeList.Attributes; 464var newAttributes = SyntaxFactory.SeparatedList(attributes.Where(a => a != attributeToRemove));
CSharpDeclareAsNullableCodeFixProvider.cs (1)
310var typeArguments = generic.TypeArgumentList.Arguments;
CSharpIndentationService.Indenter.cs (1)
336Indenter indenter, SeparatedSyntaxList<T> list, SyntaxToken token) where T : SyntaxNode
CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
123private SeparatedSyntaxList<VariableDeclaratorSyntax> _currentNonDiscardVariables = new();
CSharpTypeInferenceService.TypeInferrer.cs (1)
2351SeparatedSyntaxList<ArgumentSyntax> arguments,
CSharpUseCollectionInitializerCodeFixProvider.cs (2)
56private static SeparatedSyntaxList<ExpressionSyntax> CreateExpressions( 117var arguments = invocation.ArgumentList.Arguments;
CSharpUseObjectInitializerCodeFixProvider.cs (1)
50private static SeparatedSyntaxList<ExpressionSyntax> CreateExpressions(
CSharpUseRangeOperatorCodeFixProvider.cs (1)
93var arguments = SingletonSeparatedList(argument);
ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
247var list = new SeparatedSyntaxList<TupleElementSyntax>();
MakeLocalFunctionStaticCodeFixHelper.cs (2)
111var newArgumentsList = currentInvocation.ArgumentList.Arguments.AddRange(newArguments); 192var parameters = parameterList.Parameters;
SeparatedSyntaxListExtensions.cs (3)
11public static SeparatedSyntaxList<T> InsertRangeWithTrailingSeparator<T>( 12this SeparatedSyntaxList<T> separatedList, int index, IEnumerable<T> nodes, SyntaxKind separator) 15var newList = separatedList.InsertRange(index, nodes);
UseInitializerHelpers.cs (1)
16SeparatedSyntaxList<ExpressionSyntax> expressions)
Microsoft.CodeAnalysis.CSharp.Features (82)
ArgumentFixer.cs (1)
26protected override SeparatedSyntaxList<ArgumentSyntax> GetArgumentsOfArgumentList(ArgumentListSyntax argumentList)
AttributeArgumentFixer.cs (1)
26protected override SeparatedSyntaxList<AttributeArgumentSyntax> GetArgumentsOfArgumentList(AttributeArgumentListSyntax argumentList)
ChangeSignature\CSharpChangeSignatureService.cs (25)
310var updatedParameters = UpdateDeclaration(method.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 316var updatedParameters = UpdateDeclaration(typeWithParameters.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 322var updatedParameters = UpdateDeclaration(localFunction.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 328var updatedParameters = UpdateDeclaration(constructor.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 334var updatedParameters = UpdateDeclaration(indexer.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 340var updatedParameters = UpdateDeclaration(delegateDeclaration.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 352var updatedParameters = UpdateDeclaration(anonymousMethod.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 360var updatedParameters = UpdateDeclaration(SeparatedList(new[] { lambda.Parameter }), signaturePermutation, CreateNewParameterSyntax); 382var updatedParameters = UpdateDeclaration( 398var newParameters = UpdateDeclaration(nameMemberCref.Parameters.Parameters, signaturePermutation, CreateNewCrefParameterSyntax); 514var newArguments = PermuteArgumentList( 549var newArguments = PermuteAttributeArgumentList( 655private SeparatedSyntaxList<T> UpdateDeclaration<T>( 656SeparatedSyntaxList<T> list, 680private async Task<SeparatedSyntaxList<SyntaxNode>> AddNewArgumentsToListAsync( 682SeparatedSyntaxList<SyntaxNode> newArguments, 683SeparatedSyntaxList<SyntaxNode> originalArguments, 692var newArgumentList = await AddNewArgumentsToListAsync( 703private SeparatedSyntaxList<AttributeArgumentSyntax> PermuteAttributeArgumentList( 705SeparatedSyntaxList<AttributeArgumentSyntax> arguments, 719private SeparatedSyntaxList<ArgumentSyntax> PermuteArgumentList( 721SeparatedSyntaxList<ArgumentSyntax> arguments, 739private ImmutableArray<T> TransferLeadingWhitespaceTrivia<T, U>(IEnumerable<T> newArguments, SeparatedSyntaxList<U> oldArguments) 892protected override SyntaxNode CreateExplicitParamsArrayFromIndividualArguments(SeparatedSyntaxList<SyntaxNode> newArguments, int indexInExistingList, IParameterSymbol parameterSymbol) 897var listOfArguments = SeparatedList(newArguments.Skip(indexInExistingList).Select(a => ((ArgumentSyntax)a).Expression), newArguments.GetSeparators().Skip(indexInExistingList));
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (2)
53var ids = new SeparatedSyntaxList<ExpressionSyntax>().Add(id); 158var attributes = new SeparatedSyntaxList<AttributeSyntax>()
CodeRefactorings\CSharpRefactoringHelpersService.cs (1)
104var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement);
Completion\CompletionProviders\InternalsVisibleToCompletionProvider.cs (1)
50var arguments = ((AttributeSyntax)internalsVisibleToAttribute).ArgumentList!.Arguments;
ConvertAnonymousType\CSharpConvertAnonymousTypeToClassCodeRefactoringProvider.cs (2)
45private SeparatedSyntaxList<ArgumentSyntax> CreateArguments(SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax> initializers)
ConvertAnonymousType\CSharpConvertAnonymousTypeToTupleCodeRefactoringProvider.cs (2)
38private static SeparatedSyntaxList<ArgumentSyntax> ConvertInitializers(SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax> initializers)
ConvertLinq\ConvertForEachToLinqQuery\AbstractToMethodConverter.cs (1)
66var variables = ((LocalDeclarationStatementSyntax)previous).Declaration.Variables;
ConvertToRecordEngine.cs (1)
305var typeList = baseList.Types;
CSharpAddParameterCodeFixProvider.cs (1)
76var arguments = constructorInitializer.ArgumentList.Arguments;
CSharpDeclareAsNullableCodeFixProvider.cs (1)
310var typeArguments = generic.TypeArgumentList.Arguments;
CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (3)
97var parameters = GetParameters(anonymousFunction); 144var invokedTypeArguments = invokedExpression.GetRightmostName() is GenericNameSyntax genericName 269private static SeparatedSyntaxList<ParameterSyntax> GetParameters(AnonymousFunctionExpressionSyntax expression)
CSharpUseCollectionInitializerCodeFixProvider.cs (2)
56private static SeparatedSyntaxList<ExpressionSyntax> CreateExpressions( 117var arguments = invocation.ArgumentList.Arguments;
CSharpUseObjectInitializerCodeFixProvider.cs (1)
50private static SeparatedSyntaxList<ExpressionSyntax> CreateExpressions(
CSharpUseRangeOperatorCodeFixProvider.cs (1)
93var arguments = SingletonSeparatedList(argument);
CSharpUseRangeOperatorDiagnosticAnalyzer.cs (1)
257var arguments = invocation.ArgumentList.Arguments;
CSharpValidateFormatStringDiagnosticAnalyzer.cs (1)
22SeparatedSyntaxList<SyntaxNode> arguments,
Debugging\CSharpProximityExpressionsService.RelevantExpressionsCollector.cs (1)
94SeparatedSyntaxList<VariableDeclaratorSyntax> declarators,
Debugging\LocationInfoGetter.cs (1)
42var variableDeclarators = ((BaseFieldDeclarationSyntax)memberDeclaration).Declaration.Variables;
EditAndContinue\BreakpointSpans.cs (2)
675private static VariableDeclaratorSyntax? FindClosestDeclaratorWithInitializer(SeparatedSyntaxList<VariableDeclaratorSyntax> declarators, int position) 702private static int GetItemIndexByPosition<TNode>(SeparatedSyntaxList<TNode> list, int position)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (4)
1353OneOrMany<(ISymbol?, ISymbol?, EditKind)> GetFieldSymbolUpdates(SeparatedSyntaxList<VariableDeclaratorSyntax> oldVariables, SeparatedSyntaxList<VariableDeclaratorSyntax> newVariables) 3067private static bool DeclareSameIdentifiers(SeparatedSyntaxList<VariableDeclaratorSyntax> oldVariables, SeparatedSyntaxList<VariableDeclaratorSyntax> newVariables)
EditAndContinue\SyntaxComparer.cs (1)
1561internal static IEnumerable<SyntaxToken> GetDescendantTokensIgnoringSeparators<TSyntaxNode>(SeparatedSyntaxList<TSyntaxNode> list)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
193private SeparatedSyntaxList<TypeSyntax> CreateMethodCallTypeVariables()
GenerateConstructor\CSharpGenerateConstructorService.cs (2)
72private static ImmutableArray<Argument> GetArguments(SeparatedSyntaxList<ArgumentSyntax> arguments) 75private static ImmutableArray<Argument> GetArguments(SeparatedSyntaxList<AttributeArgumentSyntax> arguments)
IntroduceParameter\CSharpIntroduceParameterCodeRefactoringProvider.cs (1)
42protected override SyntaxNode UpdateArgumentListSyntax(SyntaxNode argumentList, SeparatedSyntaxList<SyntaxNode> arguments)
LambdaUtilities.cs (1)
445SeparatedSyntaxList<ExpressionSyntax> incrementors = ((ForStatementSyntax)node.Parent).Incrementors;
MakeLocalFunctionStaticCodeFixHelper.cs (2)
111var newArgumentsList = currentInvocation.ArgumentList.Arguments.AddRange(newArguments); 192var parameters = parameterList.Parameters;
NavigationBar\CSharpNavigationBarItemService.cs (1)
228var variables = fieldDeclaration.Declaration.Variables;
RemoveUnusedVariable\CSharpRemoveUnusedVariableCodeFixProvider.cs (1)
70protected override SeparatedSyntaxList<SyntaxNode> GetVariables(LocalDeclarationStatementSyntax localDeclarationStatement)
SignatureHelp\AbstractCSharpSignatureHelpProvider.LightweightOverloadResolution.cs (5)
27SeparatedSyntaxList<ArgumentSyntax> arguments, 48SeparatedSyntaxList<ArgumentSyntax> arguments, 73SeparatedSyntaxList<ArgumentSyntax> arguments, 198private static bool TryPrepareArgToParamMap(SeparatedSyntaxList<ArgumentSyntax> arguments, IMethodSymbol method, ArrayBuilder<int> argToParamMap) 278private static int TryGetArgumentIndex(SeparatedSyntaxList<ArgumentSyntax> arguments, int position)
SignatureHelp\ConstructorInitializerSignatureHelpProvider.cs (1)
107var arguments = constructorInitializer.ArgumentList.Arguments;
SignatureHelp\InvocationExpressionSignatureHelpProvider.cs (2)
105var arguments = invocationExpression.ArgumentList.Arguments; 159var arguments = invocationExpression.ArgumentList.Arguments;
SignatureHelp\ObjectCreationExpressionSignatureHelpProvider.cs (2)
100var arguments = objectCreationExpression.ArgumentList.Arguments; 134var arguments = objectCreationExpression.ArgumentList.Arguments;
UseInitializerHelpers.cs (1)
16SeparatedSyntaxList<ExpressionSyntax> expressions)
UseNamedArguments\CSharpUseNamedArgumentsCodeRefactoringProvider.cs (2)
64protected override SeparatedSyntaxList<ArgumentSyntax> GetArguments(BaseArgumentListSyntax argumentList) 84protected override SeparatedSyntaxList<AttributeArgumentSyntax> GetArguments(AttributeArgumentListSyntax argumentList)
Wrapping\SeparatedSyntaxList\CSharpArgumentWrapper.cs (1)
45protected override SeparatedSyntaxList<ArgumentSyntax> GetListItems(BaseArgumentListSyntax listSyntax)
Wrapping\SeparatedSyntaxList\CSharpInitializerExpressionWrapper.cs (1)
42protected override SeparatedSyntaxList<ExpressionSyntax> GetListItems(InitializerExpressionSyntax listSyntax)
Wrapping\SeparatedSyntaxList\CSharpParameterWrapper.cs (1)
44protected override SeparatedSyntaxList<ParameterSyntax> GetListItems(BaseParameterListSyntax listSyntax)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\ImplicitObjectCreationTests.cs (1)
4531var nodes = (from node in tree.GetRoot().DescendantNodes()
Semantics\LambdaTests.cs (1)
2662var parameters = lambda.ParameterList.Parameters;
Semantics\LocalFunctionTests.cs (3)
452var attrArgs = attributeSyntax.ArgumentList.Arguments; 5025var typeParameters = localDecl.TypeParameterList.Parameters; 5026var parameters = localDecl.ParameterList.Parameters;
Semantics\ObjectAndCollectionInitializerTests.cs (6)
3452var nodes = (from node in tree.GetRoot().DescendantNodes() 3500var nodes = (from node in tree.GetRoot().DescendantNodes() 3557var nodes = (from node in tree.GetRoot().DescendantNodes() 3593var nodes = (from node in tree.GetRoot().DescendantNodes() 3630var nodes = (from node in tree.GetRoot().DescendantNodes() 3845var nodes = tree.GetRoot().DescendantNodes().OfType<InitializerExpressionSyntax>().Skip(1).Single().Expressions;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Compilation\GetSemanticInfoTests.cs (10)
255var v3 = (mainStats[2] as LocalDeclarationStatementSyntax).Declaration.Variables; 258var v4 = (mainStats[3] as LocalDeclarationStatementSyntax).Declaration.Variables; 263var v61 = (v6 as InvocationExpressionSyntax).ArgumentList.Arguments; 266var v7 = (mainStats[6] as LocalDeclarationStatementSyntax).Declaration.Variables; 269var v8 = (mainStats[7] as LocalDeclarationStatementSyntax).Declaration.Variables; 272var v9 = (mainStats[8] as LocalDeclarationStatementSyntax).Declaration.Variables; 537var v1 = (mainStats[0] as LocalDeclarationStatementSyntax).Declaration.Variables; 540var v2 = (mainStats[1] as LocalDeclarationStatementSyntax).Declaration.Variables; 548var v4 = (mainStats[4] as LocalDeclarationStatementSyntax).Declaration.Variables; 551var v5 = (mainStats[5] as LocalDeclarationStatementSyntax).Declaration.Variables;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (38)
Syntax\SeparatedSyntaxListTests.cs (24)
25EqualityTesting.AssertEqual(default(SeparatedSyntaxList<CSharpSyntaxNode>), default(SeparatedSyntaxList<CSharpSyntaxNode>)); 43Assert.Throws<NotSupportedException>(() => default(SeparatedSyntaxList<CSharpSyntaxNode>.Enumerator).GetHashCode()); 44Assert.Throws<NotSupportedException>(() => default(SeparatedSyntaxList<CSharpSyntaxNode>.Enumerator).Equals(default(SeparatedSyntaxList<CSharpSyntaxNode>.Enumerator))); 51var list = SyntaxFactory.SeparatedList<ExpressionSyntax>(); 52var addList = list.Insert(0, SyntaxFactory.ParseExpression("x")); 55var insertBefore = addList.Insert(0, SyntaxFactory.ParseExpression("y")); 58var insertAfter = addList.Insert(1, SyntaxFactory.ParseExpression("y")); 61var insertBetween = insertAfter.InsertRange(1, new[] { SyntaxFactory.ParseExpression("a"), SyntaxFactory.ParseExpression("b"), SyntaxFactory.ParseExpression("c") }); 65var argsWithComment = SyntaxFactory.ParseArgumentList(@"(a, // a is good 68var insertAfterComment = argsWithComment.Insert(1, SyntaxFactory.Argument(SyntaxFactory.ParseExpression("c"))); 74var argsWithEOL = SyntaxFactory.ParseArgumentList(@"(a, 76var insertAfterEOL = argsWithEOL.Insert(1, SyntaxFactory.Argument(SyntaxFactory.ParseExpression("c"))); 81var argsWithMultiLineComment = SyntaxFactory.ParseArgumentList("(a, /* b is best */ b)").Arguments; 82var insertBeforeMultiLineComment = argsWithMultiLineComment.Insert(1, SyntaxFactory.Argument(SyntaxFactory.ParseExpression("c"))); 89var list = SyntaxFactory.SeparatedList<SyntaxNode>( 112var newList = list.Add(nodeD); 230DoTestAddInsertRemoveOnEmptyList(default(SeparatedSyntaxList<SyntaxNode>)); 233private void DoTestAddInsertRemoveOnEmptyList(SeparatedSyntaxList<SyntaxNode> list) 240var newList = list.Add(nodeD); 274var list = SyntaxFactory.SeparatedList<SyntaxNode>( 297var list = SyntaxFactory.SeparatedList<SyntaxNode>( 308var newList = list.ReplaceSeparator(
Syntax\SyntaxFactoryTests.cs (8)
224var null1 = SyntaxFactory.SeparatedList((ParameterSyntax[])null); 230var null2 = SyntaxFactory.SeparatedList((System.Collections.Generic.IEnumerable<VariableDeclaratorSyntax>)null); 236var empty1 = SyntaxFactory.SeparatedList(new TypeArgumentListSyntax[] { }); 242var empty2 = SyntaxFactory.SeparatedList(System.Linq.Enumerable.Empty<TypeParameterSyntax>()); 248var singleton1 = SyntaxFactory.SeparatedList(new[] { SyntaxFactory.IdentifierName("a") }); 254var singleton2 = SyntaxFactory.SeparatedList((System.Collections.Generic.IEnumerable<ExpressionSyntax>)new[] { SyntaxFactory.IdentifierName("x") }); 260var list1 = SyntaxFactory.SeparatedList(new[] { SyntaxFactory.IdentifierName("a"), SyntaxFactory.IdentifierName("b"), SyntaxFactory.IdentifierName("c") }); 271var list2 = SyntaxFactory.SeparatedList<ArgumentSyntax>(builder);
Syntax\SyntaxNodeOrTokenListTests.cs (2)
24EqualityTesting.AssertEqual(default(SeparatedSyntaxList<CSharpSyntaxNode>), default(SeparatedSyntaxList<CSharpSyntaxNode>));
Syntax\SyntaxNodeTests.cs (4)
1827var gp = SyntaxFactory.SingletonSeparatedList<TypeSyntax>(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))); 1889var sizes = spec.Sizes; 3261var list = (SeparatedSyntaxList<ParameterSyntax>)method.ParameterList.Parameters;
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
234static void verifyNestedFunctionPointerSyntaxSemanticInfo(SemanticModel model, IFunctionPointerTypeSymbol ptrType, SeparatedSyntaxList<FunctionPointerParameterSyntax> paramSyntaxes)
Microsoft.CodeAnalysis.CSharp.Workspaces (41)
CodeGeneration\CSharpSyntaxGenerator.cs (8)
55internal override SeparatedSyntaxList<TElement> SeparatedList<TElement>(SyntaxNodeOrTokenList list) 70internal override SeparatedSyntaxList<TElement> SeparatedList<TElement>(IEnumerable<TElement> nodes, IEnumerable<SyntaxToken> separators) 891private SeparatedSyntaxList<EnumMemberDeclarationSyntax> AsEnumMembers(IEnumerable<SyntaxNode>? members) 1842var constraints = types != null 2235var parameters = list.Parameters; 3197private static SeparatedSyntaxList<ExpressionSyntax> AsExpressionList(IEnumerable<SyntaxNode> expressions) 3217internal override SyntaxNode ObjectCreationExpression(SyntaxNode type, SyntaxToken openParen, SeparatedSyntaxList<SyntaxNode> arguments, SyntaxToken closeParen) 3226private static SeparatedSyntaxList<ArgumentSyntax> CreateArguments(IEnumerable<SyntaxNode> arguments)
CSharpCodeGenerationService.cs (2)
449var attributes = attributeList.Attributes; 464var newAttributes = SyntaxFactory.SeparatedList(attributes.Where(a => a != attributeToRemove));
CSharpIndentationService.Indenter.cs (1)
336Indenter indenter, SeparatedSyntaxList<T> list, SyntaxToken token) where T : SyntaxNode
CSharpInferredMemberNameSimplifier.cs (2)
62private static bool RemovalCausesAmbiguity(SeparatedSyntaxList<ArgumentSyntax> arguments, ArgumentSyntax toRemove) 84private static bool RemovalCausesAmbiguity(SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax> initializers, AnonymousObjectMemberDeclaratorSyntax toRemove)
CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
123private SeparatedSyntaxList<VariableDeclaratorSyntax> _currentNonDiscardVariables = new();
CSharpSyntaxFacts.cs (12)
553public SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(SyntaxNode? genericName) 1192public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfObjectCreationExpression(SyntaxNode objectCreationExpression) 1197public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfArgumentList(SyntaxNode argumentList) 1200public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfAttributeArgumentList(SyntaxNode argumentList) 1212public bool IsPragmaDirective(SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes) 1360out SyntaxToken openParen, out SeparatedSyntaxList<TArgumentSyntax> arguments, out SyntaxToken closeParen) where TArgumentSyntax : SyntaxNode 1364arguments = (SeparatedSyntaxList<SyntaxNode>)tupleExpression.Arguments; 1381public SeparatedSyntaxList<SyntaxNode> GetVariablesOfLocalDeclarationStatement(SyntaxNode node) 1569public void GetPartsOfArgumentList(SyntaxNode node, out SyntaxToken openParenToken, out SeparatedSyntaxList<SyntaxNode> arguments, out SyntaxToken closeParenToken) 1617public void GetPartsOfGenericName(SyntaxNode node, out SyntaxToken identifier, out SeparatedSyntaxList<SyntaxNode> typeArguments) 1718public SeparatedSyntaxList<SyntaxNode> GetInitializersOfObjectMemberInitializer(SyntaxNode node) 1721public SeparatedSyntaxList<SyntaxNode> GetExpressionsOfObjectCollectionInitializer(SyntaxNode node)
CSharpTypeInferenceService.TypeInferrer.cs (1)
2351SeparatedSyntaxList<ArgumentSyntax> arguments,
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (2)
551char openBrace, char closeBrace, SeparatedSyntaxList<ParameterSyntax> parameters) 563private static void AppendParameters(SeparatedSyntaxList<ParameterSyntax> parameters, StringBuilder builder)
ILocalSymbolExtensions.cs (1)
32SeparatedSyntaxList<TypeParameterSyntax>? typeParameters;
ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
247var list = new SeparatedSyntaxList<TupleElementSyntax>();
Recommendations\CSharpRecommendationServiceRunner.cs (1)
60var parameters = parenthesizedLambdaSyntax.ParameterList.Parameters;
SeparatedSyntaxListExtensions.cs (3)
11public static SeparatedSyntaxList<T> InsertRangeWithTrailingSeparator<T>( 12this SeparatedSyntaxList<T> separatedList, int index, IEnumerable<T> nodes, SyntaxKind separator) 15var newList = separatedList.InsertRange(index, nodes);
Simplification\CSharpSimplificationService.Expander.cs (2)
181var newParameters = parameterList.Parameters; 1118var arguments = originalNode.ArgumentList.Arguments.Insert(0, thisArgument);
Simplification\Reducers\CSharpExtensionMethodReducer.cs (1)
110var newArguments = SyntaxFactory.SeparatedList<ArgumentSyntax>(argumentList.Arguments.GetWithSeparators().AsEnumerable().Skip(2));
SpeculationAnalyzer.cs (2)
191var originalParams = originalParenthesizedLambda.ParameterList.Parameters; 198var replacedParams = replacedParenthesizedLambda.ParameterList.Parameters;
SyntaxTriviaExtensions.cs (1)
201public static bool IsPragmaDirective(this SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes)
Microsoft.CodeAnalysis.Features (76)
AbstractAddParameterCodeFixProvider.cs (9)
124var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfInvocationExpression(invocationExpression); 173var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfObjectCreationExpression(objectCreation); 186SeparatedSyntaxList<TArgumentSyntax> arguments, 230SeparatedSyntaxList<TArgumentSyntax> arguments, 320SeparatedSyntaxList<TArgumentSyntax> arguments, 368SeparatedSyntaxList<TArgumentSyntax> argumentList, 433SeparatedSyntaxList<TArgumentSyntax> arguments)
AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
243if (SyntaxFacts.IsPragmaDirective(trivia, out var isDisable, out var isActive, out var errorCodeNodes) &&
AbstractRemoveUnusedValuesCodeFixProvider.cs (3)
604if (ShouldRemoveStatement(localDeclarationStatement, out var variables)) 624var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement); 714bool ShouldRemoveStatement(TLocalDeclarationStatementSyntax localDeclarationStatement, out SeparatedSyntaxList<SyntaxNode> variables)
AbstractSimplifyLinqExpressionCodeFixProvider`3.cs (2)
60(TExpressionSyntax Expression, TSimpleNameSyntax Name, SeparatedSyntaxList<SyntaxNode> Arguments) FindNodes(TInvocationExpressionSyntax current) 65var arguments = SyntaxFacts.GetArgumentsOfInvocationExpression(whereExpression);
AbstractUseCoalesceExpressionForIfNullCheckDiagnosticAnalyzer.cs (1)
143var declarators = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement);
AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (1)
147var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(expression);
AbstractUseIsNullForReferenceEqualsCodeFixProvider.cs (1)
68var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (1)
89var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
AbstractUseNullPropagationDiagnosticAnalyzer.cs (1)
282var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
AbstractValidateFormatStringDiagnosticAnalyzer.cs (6)
64protected abstract SyntaxNode? TryGetMatchingNamedArgument(SeparatedSyntaxList<SyntaxNode> arguments, string searchArgumentName); 104var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(context.Node); 182SeparatedSyntaxList<SyntaxNode> arguments, 192SeparatedSyntaxList<SyntaxNode> arguments, 209SeparatedSyntaxList<SyntaxNode> arguments, 258SeparatedSyntaxList<SyntaxNode> arguments,
ChangeSignature\AbstractChangeSignatureService.cs (6)
70protected abstract SyntaxNode CreateExplicitParamsArrayFromIndividualArguments(SeparatedSyntaxList<SyntaxNode> newArguments, int startingIndex, IParameterSymbol parameterSymbol); 642protected static int GetParameterIndex<TNode>(SeparatedSyntaxList<TNode> parameters, int position) 674SeparatedSyntaxList<T> list, 739protected ImmutableArray<SyntaxToken> GetSeparators<T>(SeparatedSyntaxList<T> arguments, int numSeparatorsToSkip) where T : SyntaxNode 753protected virtual async Task<SeparatedSyntaxList<SyntaxNode>> AddNewArgumentsToListAsync( 755SeparatedSyntaxList<SyntaxNode> newArguments,
CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
415var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement);
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (2)
165var arguments = syntaxFacts.GetArgumentsOfArgumentList(argumentList); 394var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(firstStatement);
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (3)
63var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation); 152var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation); 234var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (3)
701currentTupleExpr, out var openParen, out var arguments, out var closeParen); 709private SeparatedSyntaxList<TArgumentSyntax> ConvertArguments(SyntaxGenerator generator, NamingRule parameterNamingRule, bool isRecord, SeparatedSyntaxList<TArgumentSyntax> arguments)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
6010internal static void AddNodes<T>(ArrayBuilder<SyntaxNode> nodes, SeparatedSyntaxList<T>? list)
EmbeddedLanguages\AbstractLanguageDetector.cs (1)
119var arguments = syntaxFacts.IsArgument(argument)
EmbeddedLanguages\DateAndTime\LanguageServices\DateAndTimeLanguageDetector.cs (1)
168var arguments = syntaxFacts.GetArgumentsOfArgumentList(argument.GetRequiredParent());
EmbeddedLanguages\Json\LanguageServices\JsonLanguageDetector.cs (1)
187var initializers = syntaxFacts.GetInitializersOfObjectMemberInitializer(objectInitializer);
ExtractMethod\SelectionResult.cs (1)
186var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(node);
Fixer.cs (2)
26protected abstract SeparatedSyntaxList<TArgumentSyntax> GetArgumentsOfArgumentList(TArgumentListSyntax argumentList); 127var arguments = GetArgumentsOfArgumentList(argumentList);
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
42protected abstract SyntaxNode UpdateArgumentListSyntax(SyntaxNode argumentList, SeparatedSyntaxList<SyntaxNode> arguments);
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (11)
320var invocationArguments = _syntaxFacts.GetArgumentsOfArgumentList(argumentListSyntax); 323var currentInvocationArguments = _syntaxFacts.GetArgumentsOfArgumentList(currentArgumentListSyntax); 338SeparatedSyntaxList<SyntaxNode> allArguments; 512var invocationArguments = _syntaxFacts.GetArgumentsOfArgumentList(argumentListSyntax); 524var updatedInvocationArguments = _syntaxFacts.GetArgumentsOfArgumentList(currentArgumentListSyntax); 527var allArguments = AddArgumentToArgumentList(updatedInvocationArguments, 555SeparatedSyntaxList<SyntaxNode> updatedInvocationArguments) 582private SeparatedSyntaxList<SyntaxNode> AddArgumentToArgumentList( 583SeparatedSyntaxList<SyntaxNode> invocationArguments, SyntaxNode newArgumentExpression, 593SeparatedSyntaxList<SyntaxNode> invocationArguments, int methodInsertionIndex, 619Dictionary<IParameterSymbol, int> mapping, SeparatedSyntaxList<SyntaxNode> arguments,
MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceCodeRefactoringProvider.cs (1)
33var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(declaration);
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
308var typeArgs = syntaxFacts.GetTypeArgumentsOfGenericName(expression);
NameTupleElement\AbstractNameTupleElementCodeRefactoringProvider.cs (1)
65syntaxFacts.GetPartsOfTupleExpression<TArgumentSyntax>(tuple, out _, out var arguments, out _);
RegisterFixData.cs (2)
16public RegisterFixData(SeparatedSyntaxList<TArgumentSyntax> arguments, ImmutableArray<IMethodSymbol> methodCandidates, bool isConstructorInitializer) 23public SeparatedSyntaxList<TArgumentSyntax> Arguments { get; }
RemoveUnusedVariable\AbstractRemoveUnusedVariableCodeFixProvider.cs (1)
35protected abstract SeparatedSyntaxList<SyntaxNode> GetVariables(TLocalDeclarationStatement localDeclarationStatement);
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
78var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement);
UseCollectionInitializerAnalyzer.cs (2)
164var elementAccessArguments = _syntaxFacts.GetArgumentsOfArgumentList(argumentList); 191var arguments = _syntaxFacts.GetArgumentsOfInvocationExpression(invocationExpression);
UseNamedArguments\AbstractUseNamedArgumentsCodeRefactoringProvider.cs (3)
77var arguments = GetArguments(argumentList); 156var arguments = GetArguments(argumentList); 183protected abstract SeparatedSyntaxList<TBaseArgumentSyntax> GetArguments(TArgumentListSyntax argumentList);
Wrapping\SeparatedSyntaxList\AbstractSeparatedSyntaxListWrapper.cs (2)
48protected abstract SeparatedSyntaxList<TListItemSyntax> GetListItems(TListSyntax listSyntax); 69var listItems = GetListItems(listSyntax);
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (2)
25private readonly SeparatedSyntaxList<TListItemSyntax> _listItems; 79SeparatedSyntaxList<TListItemSyntax> listItems,
Microsoft.CodeAnalysis.VisualBasic (278)
Binding\Binder_Attributes.vb (1)
389Dim arguments As SeparatedSyntaxList(Of ArgumentSyntax) = argumentListOpt.Arguments
Binding\Binder_Expressions.vb (3)
310Dim arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax) = node.Arguments 387Private Shared Function ExtractTupleElementNames(arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax), diagnostics As BindingDiagnosticBag) _ 4317Dim arguments As SeparatedSyntaxList(Of ArgumentSyntax) = arrayBoundsOpt.Arguments
Binding\Binder_ObjectInitializer.vb (1)
894Dim initializers As SeparatedSyntaxList(Of ExpressionSyntax) = collectionInitializer.Initializers
Binding\Binder_Query.vb (13)
210Dim aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax) = aggregate.AggregationVariables 394Dim aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax) = aggregate.AggregationVariables 769Dim variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax) = clauseSyntax.Variables 970variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), 1861Dim items As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax) = groupBy.Items 1906Dim keys As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax) = groupBy.Keys 2099aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax), 2528Dim orderByOrderings As SeparatedSyntaxList(Of OrderingSyntax) = orderBy.Orderings 2693Dim selectVariables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax) = [select].Variables 2732selectVariables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), 3002Dim aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax) = aggregate.AggregationVariables 3292Dim joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax) = join.JoinConditions 3771aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax),
Binding\Binder_Statements.vb (3)
994declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax), 2172Dim midArguments As SeparatedSyntaxList(Of ArgumentSyntax) = midExpression.ArgumentList.Arguments 3026Dim controlVariableList As SeparatedSyntaxList(Of ExpressionSyntax) = endOptSyntax.ControlVariables
Binding\Binder_Symbols.vb (1)
104syntaxArguments As SeparatedSyntaxList(Of TypeSyntax),
Binding\Binder_Utils.vb (1)
1030syntax As SeparatedSyntaxList(Of ParameterSyntax),
Binding\DocumentationCommentCrefBinder.vb (2)
277Dim arguments As SeparatedSyntaxList(Of TypeSyntax) = genericName.TypeArgumentList.Arguments 824Dim arguments As SeparatedSyntaxList(Of TypeSyntax) = genericName.TypeArgumentList.Arguments
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
414Private Function BingTypeArgumentsForCref(args As SeparatedSyntaxList(Of TypeSyntax)) As ImmutableArray(Of TypeSymbol)
Binding\GetTypeBinder.vb (1)
73Dim typeArguments As SeparatedSyntaxList(Of TypeSyntax) = node.TypeArgumentList.Arguments
Binding\MemberSemanticModel.vb (1)
1521Private Function GetCollectionRangeVariablesLambdaBinder(variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), position As Integer) As Binder
Generated\Syntax.xml.Main.Generated.vb (96)
6785Public Shared Function ImportsStatement(importsKeyword As SyntaxToken, importsClauses As SeparatedSyntaxList(Of ImportsClauseSyntax)) As ImportsStatementSyntax 6802Public Shared Function ImportsStatement(importsClauses As SeparatedSyntaxList(Of ImportsClauseSyntax)) As ImportsStatementSyntax 7406Public Shared Function InheritsStatement(inheritsKeyword As SyntaxToken, types As SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax 7422Public Shared Function InheritsStatement(types As SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax 7447Public Shared Function ImplementsStatement(implementsKeyword As SyntaxToken, types As SeparatedSyntaxList(Of TypeSyntax)) As ImplementsStatementSyntax 7463Public Shared Function ImplementsStatement(types As SeparatedSyntaxList(Of TypeSyntax)) As ImplementsStatementSyntax 7920Public Shared Function TypeParameterList(openParenToken As SyntaxToken, ofKeyword As SyntaxToken, parameters As SeparatedSyntaxList(Of TypeParameterSyntax), closeParenToken As SyntaxToken) As TypeParameterListSyntax 7947Public Shared Function TypeParameterList(parameters As SeparatedSyntaxList(Of TypeParameterSyntax)) As TypeParameterListSyntax 8073Public Shared Function TypeParameterMultipleConstraintClause(asKeyword As SyntaxToken, openBraceToken As SyntaxToken, constraints As SeparatedSyntaxList(Of ConstraintSyntax), closeBraceToken As SyntaxToken) As TypeParameterMultipleConstraintClauseSyntax 8101Public Shared Function TypeParameterMultipleConstraintClause(constraints As SeparatedSyntaxList(Of ConstraintSyntax)) As TypeParameterMultipleConstraintClauseSyntax 9153Public Shared Function ParameterList(openParenToken As SyntaxToken, parameters As SeparatedSyntaxList(Of ParameterSyntax), closeParenToken As SyntaxToken) As ParameterListSyntax 9174Public Shared Function ParameterList(parameters As SeparatedSyntaxList(Of ParameterSyntax)) As ParameterListSyntax 11279Public Shared Function ImplementsClause(implementsKeyword As SyntaxToken, interfaceMembers As SeparatedSyntaxList(Of QualifiedNameSyntax)) As ImplementsClauseSyntax 11296Public Shared Function ImplementsClause(interfaceMembers As SeparatedSyntaxList(Of QualifiedNameSyntax)) As ImplementsClauseSyntax 11323Public Shared Function HandlesClause(handlesKeyword As SyntaxToken, events As SeparatedSyntaxList(Of HandlesClauseItemSyntax)) As HandlesClauseSyntax 11340Public Shared Function HandlesClause(events As SeparatedSyntaxList(Of HandlesClauseItemSyntax)) As HandlesClauseSyntax 11567Public Shared Function FieldDeclaration(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As FieldDeclarationSyntax 11582Public Shared Function FieldDeclaration(declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As FieldDeclarationSyntax 11618Public Shared Function VariableDeclarator(names As SeparatedSyntaxList(Of ModifiedIdentifierSyntax), asClause As AsClauseSyntax, initializer As EqualsValueSyntax) As VariableDeclaratorSyntax 11631Public Shared Function VariableDeclarator(names As SeparatedSyntaxList(Of ModifiedIdentifierSyntax)) As VariableDeclaratorSyntax 11782Public Shared Function ObjectMemberInitializer(withKeyword As SyntaxToken, openBraceToken As SyntaxToken, initializers As SeparatedSyntaxList(Of FieldInitializerSyntax), closeBraceToken As SyntaxToken) As ObjectMemberInitializerSyntax 11808Public Shared Function ObjectMemberInitializer(initializers As SeparatedSyntaxList(Of FieldInitializerSyntax)) As ObjectMemberInitializerSyntax 12375Public Shared Function AttributeList(lessThanToken As SyntaxToken, attributes As SeparatedSyntaxList(Of AttributeSyntax), greaterThanToken As SyntaxToken) As AttributeListSyntax 12396Public Shared Function AttributeList(attributes As SeparatedSyntaxList(Of AttributeSyntax)) As AttributeListSyntax 13041Public Shared Function LocalDeclarationStatement(modifiers As SyntaxTokenList, declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As LocalDeclarationStatementSyntax 15979Public Shared Function CaseStatement(caseKeyword As SyntaxToken, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 15998Public Shared Function CaseStatement(cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 16029Public Shared Function CaseElseStatement(caseKeyword As SyntaxToken, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 16048Public Shared Function CaseElseStatement(cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 16083Public Shared Function CaseStatement(ByVal kind As SyntaxKind, caseKeyword As SyntaxToken, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 16109Public Shared Function CaseStatement(ByVal kind As SyntaxKind, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 20016Public Shared Function NextStatement(nextKeyword As SyntaxToken, controlVariables As SeparatedSyntaxList(Of ExpressionSyntax)) As NextStatementSyntax 20035Public Shared Function NextStatement(controlVariables As SeparatedSyntaxList(Of ExpressionSyntax)) As NextStatementSyntax 20067Public Shared Function UsingStatement(usingKeyword As SyntaxToken, expression As ExpressionSyntax, variables As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As UsingStatementSyntax 20090Public Shared Function UsingStatement(expression As ExpressionSyntax, variables As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As UsingStatementSyntax 24462Public Shared Function ReDimStatement(reDimKeyword As SyntaxToken, preserveKeyword As SyntaxToken, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 24478Public Shared Function ReDimStatement(clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 24507Public Shared Function ReDimPreserveStatement(reDimKeyword As SyntaxToken, preserveKeyword As SyntaxToken, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 24523Public Shared Function ReDimPreserveStatement(clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 24556Public Shared Function ReDimStatement(ByVal kind As SyntaxKind, reDimKeyword As SyntaxToken, preserveKeyword As SyntaxToken, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 24579Public Shared Function ReDimStatement(ByVal kind As SyntaxKind, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 24742Public Shared Function EraseStatement(eraseKeyword As SyntaxToken, expressions As SeparatedSyntaxList(Of ExpressionSyntax)) As EraseStatementSyntax 24758Public Shared Function EraseStatement(expressions As SeparatedSyntaxList(Of ExpressionSyntax)) As EraseStatementSyntax 25233Public Shared Function TupleExpression(openParenToken As SyntaxToken, arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax), closeParenToken As SyntaxToken) As TupleExpressionSyntax 25254Public Shared Function TupleExpression(arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax)) As TupleExpressionSyntax 25282Public Shared Function TupleType(openParenToken As SyntaxToken, elements As SeparatedSyntaxList(Of TupleElementSyntax), closeParenToken As SyntaxToken) As TupleTypeSyntax 25303Public Shared Function TupleType(elements As SeparatedSyntaxList(Of TupleElementSyntax)) As TupleTypeSyntax 26872Public Shared Function CollectionInitializer(openBraceToken As SyntaxToken, initializers As SeparatedSyntaxList(Of ExpressionSyntax), closeBraceToken As SyntaxToken) As CollectionInitializerSyntax 26894Public Shared Function CollectionInitializer(initializers As SeparatedSyntaxList(Of ExpressionSyntax)) As CollectionInitializerSyntax 36937Public Shared Function ArgumentList(openParenToken As SyntaxToken, arguments As SeparatedSyntaxList(Of ArgumentSyntax), closeParenToken As SyntaxToken) As ArgumentListSyntax 36959Public Shared Function ArgumentList(arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As ArgumentListSyntax 37985Public Shared Function FromClause(fromKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As FromClauseSyntax 38003Public Shared Function FromClause(variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As FromClauseSyntax 38030Public Shared Function LetClause(letKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As LetClauseSyntax 38046Public Shared Function LetClause(variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As LetClauseSyntax 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 39221Public Shared Function GroupByClause(groupKeyword As SyntaxToken, items As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), byKeyword As SyntaxToken, keys As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupByClauseSyntax 39254Public Shared Function GroupByClause(items As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), keys As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupByClauseSyntax 39268Public Shared Function GroupByClause(keys As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupByClauseSyntax 39552Public Shared Function SimpleJoinClause(joinKeyword As SyntaxToken, joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), onKeyword As SyntaxToken, joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As SimpleJoinClauseSyntax 39580Public Shared Function SimpleJoinClause(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As SimpleJoinClauseSyntax 39595Public Shared Function SimpleJoinClause(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As SimpleJoinClauseSyntax 39628Public Shared Function GroupJoinClause(groupKeyword As SyntaxToken, joinKeyword As SyntaxToken, joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), onKeyword As SyntaxToken, joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupJoinClauseSyntax 39669Public Shared Function GroupJoinClause(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupJoinClauseSyntax 39687Public Shared Function GroupJoinClause(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax), aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupJoinClauseSyntax 39704Public Shared Function OrderByClause(orderKeyword As SyntaxToken, byKeyword As SyntaxToken, orderings As SeparatedSyntaxList(Of OrderingSyntax)) As OrderByClauseSyntax 39725Public Shared Function OrderByClause(orderings As SeparatedSyntaxList(Of OrderingSyntax)) As OrderByClauseSyntax 40192Public Shared Function SelectClause(selectKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As SelectClauseSyntax 40209Public Shared Function SelectClause(variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As SelectClauseSyntax 41216Public Shared Function TypeArgumentList(openParenToken As SyntaxToken, ofKeyword As SyntaxToken, arguments As SeparatedSyntaxList(Of TypeSyntax), closeParenToken As SyntaxToken) As TypeArgumentListSyntax 41242Public Shared Function TypeArgumentList(arguments As SeparatedSyntaxList(Of TypeSyntax)) As TypeArgumentListSyntax 41297Public Shared Function CrefSignature(openParenToken As SyntaxToken, argumentTypes As SeparatedSyntaxList(Of CrefSignaturePartSyntax), closeParenToken As SyntaxToken) As CrefSignatureSyntax 41316Public Shared Function CrefSignature(argumentTypes As SeparatedSyntaxList(Of CrefSignaturePartSyntax)) As CrefSignatureSyntax 43861Public Shared Function EnableWarningDirectiveTrivia(hashToken As SyntaxToken, enableKeyword As SyntaxToken, warningKeyword As SyntaxToken, errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As EnableWarningDirectiveTriviaSyntax 43884Public Shared Function EnableWarningDirectiveTrivia(errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As EnableWarningDirectiveTriviaSyntax 43903Public Shared Function DisableWarningDirectiveTrivia(hashToken As SyntaxToken, disableKeyword As SyntaxToken, warningKeyword As SyntaxToken, errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As DisableWarningDirectiveTriviaSyntax 43926Public Shared Function DisableWarningDirectiveTrivia(errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As DisableWarningDirectiveTriviaSyntax
Generated\Syntax.xml.Syntax.Generated.vb (130)
789Public ReadOnly Property ImportsClauses As SeparatedSyntaxList(Of ImportsClauseSyntax) 804Public Shadows Function WithImportsClauses(importsClauses as SeparatedSyntaxList(Of ImportsClauseSyntax)) As ImportsStatementSyntax 849Public Function Update(importsKeyword As SyntaxToken, importsClauses As SeparatedSyntaxList(Of ImportsClauseSyntax)) As ImportsStatementSyntax 2822Public ReadOnly Property Types As SeparatedSyntaxList(Of TypeSyntax) 2836Public Shadows Function WithTypes(types as SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax 2881Public Function Update(inheritsKeyword As SyntaxToken, types As SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax 2940Public ReadOnly Property Types As SeparatedSyntaxList(Of TypeSyntax) 2954Public Shadows Function WithTypes(types as SeparatedSyntaxList(Of TypeSyntax)) As ImplementsStatementSyntax 2999Public Function Update(implementsKeyword As SyntaxToken, types As SeparatedSyntaxList(Of TypeSyntax)) As ImplementsStatementSyntax 4432Public ReadOnly Property Parameters As SeparatedSyntaxList(Of TypeParameterSyntax) 4447Public Shadows Function WithParameters(parameters as SeparatedSyntaxList(Of TypeParameterSyntax)) As TypeParameterListSyntax 4516Public Function Update(openParenToken As SyntaxToken, ofKeyword As SyntaxToken, parameters As SeparatedSyntaxList(Of TypeParameterSyntax), closeParenToken As SyntaxToken) As TypeParameterListSyntax 4869Public ReadOnly Property Constraints As SeparatedSyntaxList(Of ConstraintSyntax) 4884Public Shadows Function WithConstraints(constraints as SeparatedSyntaxList(Of ConstraintSyntax)) As TypeParameterMultipleConstraintClauseSyntax 4953Public Function Update(asKeyword As SyntaxToken, openBraceToken As SyntaxToken, constraints As SeparatedSyntaxList(Of ConstraintSyntax), closeBraceToken As SyntaxToken) As TypeParameterMultipleConstraintClauseSyntax 6483Public ReadOnly Property Parameters As SeparatedSyntaxList(Of ParameterSyntax) 6498Public Shadows Function WithParameters(parameters as SeparatedSyntaxList(Of ParameterSyntax)) As ParameterListSyntax 6565Public Function Update(openParenToken As SyntaxToken, parameters As SeparatedSyntaxList(Of ParameterSyntax), closeParenToken As SyntaxToken) As ParameterListSyntax 9222Public ReadOnly Property InterfaceMembers As SeparatedSyntaxList(Of QualifiedNameSyntax) 9237Public Shadows Function WithInterfaceMembers(interfaceMembers as SeparatedSyntaxList(Of QualifiedNameSyntax)) As ImplementsClauseSyntax 9282Public Function Update(implementsKeyword As SyntaxToken, interfaceMembers As SeparatedSyntaxList(Of QualifiedNameSyntax)) As ImplementsClauseSyntax 9342Public ReadOnly Property Events As SeparatedSyntaxList(Of HandlesClauseItemSyntax) 9356Public Shadows Function [WithEvents](events as SeparatedSyntaxList(Of HandlesClauseItemSyntax)) As HandlesClauseSyntax 9401Public Function Update(handlesKeyword As SyntaxToken, events As SeparatedSyntaxList(Of HandlesClauseItemSyntax)) As HandlesClauseSyntax 10128Public ReadOnly Property Declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax) 10143Public Shadows Function WithDeclarators(declarators as SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As FieldDeclarationSyntax 10195Public Function Update(attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As FieldDeclarationSyntax 10240Public ReadOnly Property Names As SeparatedSyntaxList(Of ModifiedIdentifierSyntax) 10254Public Shadows Function WithNames(names as SeparatedSyntaxList(Of ModifiedIdentifierSyntax)) As VariableDeclaratorSyntax 10354Public Function Update(names As SeparatedSyntaxList(Of ModifiedIdentifierSyntax), asClause As AsClauseSyntax, initializer As EqualsValueSyntax) As VariableDeclaratorSyntax 10765Public ReadOnly Property Initializers As SeparatedSyntaxList(Of FieldInitializerSyntax) 10780Public Shadows Function WithInitializers(initializers as SeparatedSyntaxList(Of FieldInitializerSyntax)) As ObjectMemberInitializerSyntax 10849Public Function Update(withKeyword As SyntaxToken, openBraceToken As SyntaxToken, initializers As SeparatedSyntaxList(Of FieldInitializerSyntax), closeBraceToken As SyntaxToken) As ObjectMemberInitializerSyntax 12046Public ReadOnly Property Attributes As SeparatedSyntaxList(Of AttributeSyntax) 12061Public Shadows Function WithAttributes(attributes as SeparatedSyntaxList(Of AttributeSyntax)) As AttributeListSyntax 12127Public Function Update(lessThanToken As SyntaxToken, attributes As SeparatedSyntaxList(Of AttributeSyntax), greaterThanToken As SyntaxToken) As AttributeListSyntax 13361Public ReadOnly Property Declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax) 13376Public Shadows Function WithDeclarators(declarators as SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As LocalDeclarationStatementSyntax 13421Public Function Update(modifiers As SyntaxTokenList, declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As LocalDeclarationStatementSyntax 17284Public ReadOnly Property Cases As SeparatedSyntaxList(Of CaseClauseSyntax) 17298Public Shadows Function WithCases(cases as SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 17346Public Function Update(kind As SyntaxKind, caseKeyword As SyntaxToken, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 19705Public ReadOnly Property ControlVariables As SeparatedSyntaxList(Of ExpressionSyntax) 19720Public Shadows Function WithControlVariables(controlVariables as SeparatedSyntaxList(Of ExpressionSyntax)) As NextStatementSyntax 19765Public Function Update(nextKeyword As SyntaxToken, controlVariables As SeparatedSyntaxList(Of ExpressionSyntax)) As NextStatementSyntax 19853Public ReadOnly Property Variables As SeparatedSyntaxList(Of VariableDeclaratorSyntax) 19868Public Shadows Function WithVariables(variables as SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As UsingStatementSyntax 19920Public Function Update(usingKeyword As SyntaxToken, expression As ExpressionSyntax, variables As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As UsingStatementSyntax 20917Public ReadOnly Property Clauses As SeparatedSyntaxList(Of RedimClauseSyntax) 20932Public Shadows Function WithClauses(clauses as SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 20983Public Function Update(kind As SyntaxKind, reDimKeyword As SyntaxToken, preserveKeyword As SyntaxToken, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 21163Public ReadOnly Property Expressions As SeparatedSyntaxList(Of ExpressionSyntax) 21178Public Shadows Function WithExpressions(expressions as SeparatedSyntaxList(Of ExpressionSyntax)) As EraseStatementSyntax 21223Public Function Update(eraseKeyword As SyntaxToken, expressions As SeparatedSyntaxList(Of ExpressionSyntax)) As EraseStatementSyntax 21532Public ReadOnly Property Arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax) 21547Public Shadows Function WithArguments(arguments as SeparatedSyntaxList(Of SimpleArgumentSyntax)) As TupleExpressionSyntax 21613Public Function Update(openParenToken As SyntaxToken, arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax), closeParenToken As SyntaxToken) As TupleExpressionSyntax 21672Public ReadOnly Property Elements As SeparatedSyntaxList(Of TupleElementSyntax) 21687Public Shadows Function WithElements(elements as SeparatedSyntaxList(Of TupleElementSyntax)) As TupleTypeSyntax 21753Public Function Update(openParenToken As SyntaxToken, elements As SeparatedSyntaxList(Of TupleElementSyntax), closeParenToken As SyntaxToken) As TupleTypeSyntax 24018Public ReadOnly Property Initializers As SeparatedSyntaxList(Of ExpressionSyntax) 24033Public Shadows Function WithInitializers(initializers as SeparatedSyntaxList(Of ExpressionSyntax)) As CollectionInitializerSyntax 24099Public Function Update(openBraceToken As SyntaxToken, initializers As SeparatedSyntaxList(Of ExpressionSyntax), closeBraceToken As SyntaxToken) As CollectionInitializerSyntax 26514Public ReadOnly Property Arguments As SeparatedSyntaxList(Of ArgumentSyntax) 26529Public Shadows Function WithArguments(arguments as SeparatedSyntaxList(Of ArgumentSyntax)) As ArgumentListSyntax 26595Public Function Update(openParenToken As SyntaxToken, arguments As SeparatedSyntaxList(Of ArgumentSyntax), closeParenToken As SyntaxToken) As ArgumentListSyntax 28058Public ReadOnly Property Variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax) 28073Public Shadows Function WithVariables(variables as SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As FromClauseSyntax 28118Public Function Update(fromKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As FromClauseSyntax 28177Public ReadOnly Property Variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax) 28192Public Shadows Function WithVariables(variables as SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As LetClauseSyntax 28237Public Function Update(letKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As LetClauseSyntax 28298Public ReadOnly Property Variables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax) 28313Public Shadows Function WithVariables(variables as SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As AggregateClauseSyntax 28368Public ReadOnly Property AggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax) 28383Public Shadows Function WithAggregationVariables(aggregationVariables as SeparatedSyntaxList(Of 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 28955Public ReadOnly Property Items As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax) 28969Public Shadows Function WithItems(items as SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As GroupByClauseSyntax 28998Public ReadOnly Property Keys As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax) 29012Public Shadows Function WithKeys(keys as SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As GroupByClauseSyntax 29038Public ReadOnly Property AggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax) 29053Public Shadows Function WithAggregationVariables(aggregationVariables as SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupByClauseSyntax 29118Public Function Update(groupKeyword As SyntaxToken, items As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), byKeyword As SyntaxToken, keys As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupByClauseSyntax 29174Public Overridable ReadOnly Property JoinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax) 29189Public Function WithJoinedVariables(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As JoinClauseSyntax 29192Friend MustOverride Function WithJoinedVariablesCore(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As JoinClauseSyntax 29256Public Overridable ReadOnly Property JoinConditions As SeparatedSyntaxList(Of JoinConditionSyntax) 29271Public Function WithJoinConditions(joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As JoinClauseSyntax 29274Friend MustOverride Function WithJoinConditionsCore(joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As JoinClauseSyntax 29469Public Overrides ReadOnly Property JoinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax) 29479Friend Overrides Function WithJoinedVariablesCore(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As JoinClauseSyntax 29488Public Shadows Function WithJoinedVariables(joinedVariables as SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As SimpleJoinClauseSyntax 29568Public Overrides ReadOnly Property JoinConditions As SeparatedSyntaxList(Of JoinConditionSyntax) 29578Friend Overrides Function WithJoinConditionsCore(joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As JoinClauseSyntax 29587Public Shadows Function WithJoinConditions(joinConditions as SeparatedSyntaxList(Of JoinConditionSyntax)) As SimpleJoinClauseSyntax 29653Public Function Update(joinKeyword As SyntaxToken, joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), onKeyword As SyntaxToken, joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As SimpleJoinClauseSyntax 29738Public Overrides ReadOnly Property JoinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax) 29748Friend Overrides Function WithJoinedVariablesCore(joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As JoinClauseSyntax 29757Public Shadows Function WithJoinedVariables(joinedVariables as SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As GroupJoinClauseSyntax 29837Public Overrides ReadOnly Property JoinConditions As SeparatedSyntaxList(Of JoinConditionSyntax) 29847Friend Overrides Function WithJoinConditionsCore(joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax)) As JoinClauseSyntax 29856Public Shadows Function WithJoinConditions(joinConditions as SeparatedSyntaxList(Of JoinConditionSyntax)) As GroupJoinClauseSyntax 29889Public ReadOnly Property AggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax) 29904Public Shadows Function WithAggregationVariables(aggregationVariables as SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupJoinClauseSyntax 29979Public Function Update(groupKeyword As SyntaxToken, joinKeyword As SyntaxToken, joinedVariables As SeparatedSyntaxList(Of CollectionRangeVariableSyntax), additionalJoins As SyntaxList(of JoinClauseSyntax), onKeyword As SyntaxToken, joinConditions As SeparatedSyntaxList(Of JoinConditionSyntax), intoKeyword As SyntaxToken, aggregationVariables As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As GroupJoinClauseSyntax 30056Public ReadOnly Property Orderings As SeparatedSyntaxList(Of OrderingSyntax) 30071Public Shadows Function WithOrderings(orderings as SeparatedSyntaxList(Of OrderingSyntax)) As OrderByClauseSyntax 30119Public Function Update(orderKeyword As SyntaxToken, byKeyword As SyntaxToken, orderings As SeparatedSyntaxList(Of OrderingSyntax)) As OrderByClauseSyntax 30303Public ReadOnly Property Variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax) 30318Public Shadows Function WithVariables(variables as SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As SelectClauseSyntax 30363Public Function Update(selectKeyword As SyntaxToken, variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As SelectClauseSyntax 33633Public ReadOnly Property Arguments As SeparatedSyntaxList(Of TypeSyntax) 33648Public Shadows Function WithArguments(arguments as SeparatedSyntaxList(Of TypeSyntax)) As TypeArgumentListSyntax 33717Public Function Update(openParenToken As SyntaxToken, ofKeyword As SyntaxToken, arguments As SeparatedSyntaxList(Of TypeSyntax), closeParenToken As SyntaxToken) As TypeArgumentListSyntax 33915Public ReadOnly Property ArgumentTypes As SeparatedSyntaxList(Of CrefSignaturePartSyntax) 33930Public Shadows Function WithArgumentTypes(argumentTypes as SeparatedSyntaxList(Of CrefSignaturePartSyntax)) As CrefSignatureSyntax 33993Public Function Update(openParenToken As SyntaxToken, argumentTypes As SeparatedSyntaxList(Of CrefSignaturePartSyntax), closeParenToken As SyntaxToken) As CrefSignatureSyntax 37591Public ReadOnly Property ErrorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax) 37606Public Shadows Function WithErrorCodes(errorCodes as SeparatedSyntaxList(Of IdentifierNameSyntax)) As EnableWarningDirectiveTriviaSyntax 37657Public Function Update(hashToken As SyntaxToken, enableKeyword As SyntaxToken, warningKeyword As SyntaxToken, errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As EnableWarningDirectiveTriviaSyntax 37751Public ReadOnly Property ErrorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax) 37766Public Shadows Function WithErrorCodes(errorCodes as SeparatedSyntaxList(Of IdentifierNameSyntax)) As DisableWarningDirectiveTriviaSyntax 37817Public Function Update(hashToken As SyntaxToken, disableKeyword As SyntaxToken, warningKeyword As SyntaxToken, errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As DisableWarningDirectiveTriviaSyntax
OptionsValidator.vb (1)
37Dim importsClausesSyntaxList As SeparatedSyntaxList(Of ImportsClauseSyntax) = statement.ImportsClauses
SourceGeneration\VisualBasicSyntaxHelper.vb (1)
65Public Overrides Function GetAttributesOfAttributeList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode)
Symbols\ConstraintsHelper.vb (1)
490typeArgumentsSyntax As SeparatedSyntaxList(Of TypeSyntax),
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1335Dim types As SeparatedSyntaxList(Of TypeSyntax) =
Syntax\LambdaUtilities.vb (2)
462Private Shared Iterator Function EnumerateExpressions(variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As IEnumerable(Of SyntaxNode) 581Private Shared Function GetCollectionRangeVariables(clause As SyntaxNode) As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)
Syntax\SyntaxFactory.vb (2)
1013Public Shared Function AreEquivalent(Of TNode As SyntaxNode)(oldList As SeparatedSyntaxList(Of TNode), newList As SeparatedSyntaxList(Of TNode), Optional ignoreChildNode As Func(Of SyntaxKind, Boolean) = Nothing) As Boolean
Syntax\SyntaxNodeFactories.vb (6)
860Public Shared Function SeparatedList(Of TNode As SyntaxNode)() As SeparatedSyntaxList(Of TNode) 869Public Shared Function SingletonSeparatedList(Of TNode As SyntaxNode)(node As TNode) As SeparatedSyntaxList(Of TNode) 878Public Shared Function SeparatedList(Of TNode As SyntaxNode)(nodes As IEnumerable(Of TNode)) As SeparatedSyntaxList(Of TNode) 914Public Shared Function SeparatedList(Of TNode As SyntaxNode)(nodes As IEnumerable(Of TNode), separators As IEnumerable(Of SyntaxToken)) As SeparatedSyntaxList(Of TNode) 964Public Shared Function SeparatedList(Of TNode As SyntaxNode)(nodesAndTokens As IEnumerable(Of SyntaxNodeOrToken)) As SeparatedSyntaxList(Of TNode) 974Public Shared Function SeparatedList(Of TNode As SyntaxNode)(nodesAndTokens As SyntaxNodeOrTokenList) As SeparatedSyntaxList(Of TNode)
Syntax\SyntaxNodeRemover.vb (2)
140Public Overrides Function VisitList(Of TNode As SyntaxNode)(list As SeparatedSyntaxList(Of TNode)) As SeparatedSyntaxList(Of TNode)
Syntax\SyntaxReplacer.vb (2)
305Public Overrides Function VisitList(Of TNode As SyntaxNode)(list As SeparatedSyntaxList(Of TNode)) As SeparatedSyntaxList(Of TNode)
Syntax\VisualBasicSyntaxRewriter.vb (2)
132Public Overridable Function VisitList(Of TNode As SyntaxNode)(list As SeparatedSyntaxList(Of TNode)) As SeparatedSyntaxList(Of TNode)
Syntax\VisualBasicWarningStateMap.vb (1)
61Dim codes As SeparatedSyntaxList(Of IdentifierNameSyntax)
VisualBasicExtensions.vb (3)
100Public Function IndexOf(Of TNode As SyntaxNode)(list As SeparatedSyntaxList(Of TNode), kind As SyntaxKind) As Integer 110Public Function Any(Of TNode As SyntaxNode)(list As SeparatedSyntaxList(Of TNode), kind As SyntaxKind) As Boolean 453Friend Function AsSeparatedList(Of TOther As SyntaxNode)(list As SyntaxNodeOrTokenList) As SeparatedSyntaxList(Of TOther)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (23)
ImportsOrganizer.vb (2)
137Public Shared Function Organize(clauses As SeparatedSyntaxList(Of ImportsClauseSyntax)) As SeparatedSyntaxList(Of ImportsClauseSyntax)
SpeculationAnalyzer.vb (2)
251Dim originalParams As SeparatedSyntaxList(Of ParameterSyntax), replacedParams As SeparatedSyntaxList(Of ParameterSyntax)
SyntaxTokenExtensions.vb (1)
97Public Function IsChildSeparatorToken(Of TParent As SyntaxNode, TChild As SyntaxNode)(token As SyntaxToken, childGetter As Func(Of TParent, SeparatedSyntaxList(Of TChild))) As Boolean
SyntaxTriviaExtensions.vb (1)
44Public Function IsPragmaDirective(trivia As SyntaxTrivia, ByRef isDisable As Boolean, ByRef isActive As Boolean, ByRef errorCodes As SeparatedSyntaxList(Of SyntaxNode)) As Boolean
VisualBasicInferredMemberNameSimplifier.vb (2)
53Private Function RemovalCausesAmbiguity(arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax), toRemove As SimpleArgumentSyntax) As Boolean 70Private Function RemovalCausesAmbiguity(initializers As SeparatedSyntaxList(Of FieldInitializerSyntax), toRemove As NamedFieldInitializerSyntax) As Boolean
VisualBasicSyntaxFacts.vb (14)
534Public Function GetTypeArgumentsOfGenericName(genericName As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetTypeArgumentsOfGenericName 870Private Shared Function GetSeparatedSyntaxListSpan(Of T As SyntaxNode)(list As SeparatedSyntaxList(Of T)) As TextSpan 1223Public Function GetArgumentsOfObjectCreationExpression(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfObjectCreationExpression 1228Public Function GetArgumentsOfArgumentList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfArgumentList 1232Public Function GetArgumentsOfAttributeArgumentList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfAttributeArgumentList 1435Public Sub GetPartsOfTupleExpression(Of TArgumentSyntax As SyntaxNode)(node As SyntaxNode, ByRef openParen As SyntaxToken, ByRef arguments As SeparatedSyntaxList(Of TArgumentSyntax), ByRef closeParen As SyntaxToken) Implements ISyntaxFacts.GetPartsOfTupleExpression 1438arguments = CType(CType(tupleExpr.Arguments, SeparatedSyntaxList(Of SyntaxNode)), SeparatedSyntaxList(Of TArgumentSyntax)) 1458Public Function IsPragmaDirective(trivia As SyntaxTrivia, ByRef isDisable As Boolean, ByRef isActive As Boolean, ByRef errorCodes As SeparatedSyntaxList(Of SyntaxNode)) As Boolean Implements ISyntaxFacts.IsPragmaDirective 1478Public Function GetVariablesOfLocalDeclarationStatement(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetVariablesOfLocalDeclarationStatement 1771Public Sub GetPartsOfArgumentList(node As SyntaxNode, ByRef openParenToken As SyntaxToken, ByRef arguments As SeparatedSyntaxList(Of SyntaxNode), ByRef closeParenToken As SyntaxToken) Implements ISyntaxFacts.GetPartsOfArgumentList 1825Public Sub GetPartsOfGenericName(node As SyntaxNode, ByRef identifier As SyntaxToken, ByRef typeArguments As SeparatedSyntaxList(Of SyntaxNode)) Implements ISyntaxFacts.GetPartsOfGenericName 1904Public Function GetInitializersOfObjectMemberInitializer(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetInitializersOfObjectMemberInitializer 1913Public Function GetExpressionsOfObjectCollectionInitializer(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetExpressionsOfObjectCollectionInitializer
VisualBasicValidateFormatStringDiagnosticAnalyzer.vb (1)
22arguments As SeparatedSyntaxList(Of SyntaxNode),
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (6)
ArgumentFixer.vb (1)
32Protected Overrides Function GetArgumentsOfArgumentList(argumentList As ArgumentListSyntax) As SeparatedSyntaxList(Of ArgumentSyntax)
SyntaxTreeExtensions.vb (3)
1036Friend Function LastCollectionExpression(collection As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As ExpressionSyntax 1047Friend Function LastRangeExpression(collection As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As ExpressionSyntax 1058Friend Function LastAggregation(collection As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregationSyntax
VisualBasicAddExplicitCastCodeFixProvider.vb (1)
116arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As ArgumentSyntax
VisualBasicUseObjectInitializerCodeFixProvider.vb (1)
65matches As ImmutableArray(Of Match(Of ExpressionSyntax, StatementSyntax, MemberAccessExpressionSyntax, AssignmentStatementSyntax))) As SeparatedSyntaxList(Of FieldInitializerSyntax)
Microsoft.CodeAnalysis.VisualBasic.Features (37)
ArgumentFixer.vb (1)
32Protected Overrides Function GetArgumentsOfArgumentList(argumentList As ArgumentListSyntax) As SeparatedSyntaxList(Of ArgumentSyntax)
ChangeSignature\VisualBasicChangeSignatureService.vb (5)
556arguments As SeparatedSyntaxList(Of ArgumentSyntax), 559Optional isReducedExtensionMethod As Boolean = False) As SeparatedSyntaxList(Of ArgumentSyntax) 580parameterList As SeparatedSyntaxList(Of T), 582createNewParameterMethod As Func(Of AddedParameter, T)) As SeparatedSyntaxList(Of T) 757Protected Overrides Function CreateExplicitParamsArrayFromIndividualArguments(newArguments As SeparatedSyntaxList(Of SyntaxNode), indexInExistingList As Integer, parameterSymbol As IParameterSymbol) As SyntaxNode
CodeFixes\Suppression\VisualBasicSuppressionCodeFixProvider.vb (2)
42Private Shared Function GetErrorCodes(diagnostic As Diagnostic, ByRef includeTitle As Boolean) As SeparatedSyntaxList(Of IdentifierNameSyntax) 220Dim errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)
Completion\KeywordRecommenders\RecommendationHelpers.vb (1)
95Friend Function LastJoinKey(collection As SeparatedSyntaxList(Of JoinConditionSyntax)) As ExpressionSyntax
ConvertAnonymousType\VisualBasicConvertAnonymousTypeToClassCodeRefactoringProvider.vb (2)
42Private Function CreateArguments(initializers As SeparatedSyntaxList(Of FieldInitializerSyntax)) As SeparatedSyntaxList(Of ArgumentSyntax)
ConvertAnonymousType\VisualBasicConvertAnonymousTypeToTupleCodeRefactoringProvider.vb (2)
34Private Function ConvertInitializers(initializers As SeparatedSyntaxList(Of FieldInitializerSyntax)) As SeparatedSyntaxList(Of SimpleArgumentSyntax)
EditAndContinue\BreakpointSpans.vb (5)
95Private Function TryCreateSpan(Of TNode As SyntaxNode)(list As SeparatedSyntaxList(Of TNode)) As TextSpan? 260Private Function TryCreateSpanForVariableDeclaration(modifiers As SyntaxTokenList, declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax), position As Integer) As TextSpan? 281Private Function FindClosestNameWithInitializer(declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax), position As Integer) As ModifiedIdentifierSyntax 294Private Function FindClosestNode(Of TListNode As SyntaxNode, TResult As SyntaxNode)(nodes As SeparatedSyntaxList(Of TListNode), position As Integer, predicate As Func(Of TListNode, TResult)) As TResult 324Private Function GetItemIndexByPosition(Of TNode As SyntaxNode)(list As SeparatedSyntaxList(Of TNode), position As Integer) As Integer
EditAndContinue\SyntaxComparer.vb (3)
1345Friend Overloads Shared Function ComputeDistance(Of TSyntaxNode As SyntaxNode)(oldList As SeparatedSyntaxList(Of TSyntaxNode), newList As SeparatedSyntaxList(Of TSyntaxNode)) As Double 1363Private Shared Iterator Function GetDescendantTokensIgnoringSeparators(Of TSyntaxNode As SyntaxNode)(list As SeparatedSyntaxList(Of TSyntaxNode)) As IEnumerable(Of SyntaxToken)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
875Private Shared Function GetItemIndexByPosition(Of TNode As SyntaxNode)(list As SeparatedSyntaxList(Of TNode), position As Integer) As Integer
ExtractMethod\Extensions.vb (1)
370Public Function ToSeparatedList(Of T As SyntaxNode)(nodes As IEnumerable(Of Tuple(Of T, SyntaxToken))) As SeparatedSyntaxList(Of T)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.vb (1)
132Private Function CreateMethodCallTypeVariables() As SeparatedSyntaxList(Of TypeSyntax)
GenerateConstructor\VisualBasicGenerateConstructorService.vb (1)
161Private Shared Function GetArguments(arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As ImmutableArray(Of Argument)
IntroduceParameter\VisualBasicIntroduceParameterCodeRefactoringProvider.vb (1)
30Protected Overrides Function UpdateArgumentListSyntax(node As SyntaxNode, arguments As SeparatedSyntaxList(Of SyntaxNode)) As SyntaxNode
LambdaUtilities.vb (2)
462Private Shared Iterator Function EnumerateExpressions(variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As IEnumerable(Of SyntaxNode) 581Private Shared Function GetCollectionRangeVariables(clause As SyntaxNode) As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (1)
167declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax),
RemoveUnusedVariable\VisualBasicRemoveUnusedVariableCodeFixProvider.vb (1)
45Protected Overrides Function GetVariables(localDeclarationStatement As LocalDeclarationStatementSyntax) As SeparatedSyntaxList(Of SyntaxNode)
UseNamedArguments\VisualBasicUseNamedArgumentsCodeRefactoringProvider.vb (1)
25Protected Overrides Function GetArguments(argumentList As ArgumentListSyntax) As SeparatedSyntaxList(Of ArgumentSyntax)
VisualBasicAddExplicitCastCodeFixProvider.vb (1)
116arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As ArgumentSyntax
VisualBasicUseObjectInitializerCodeFixProvider.vb (1)
65matches As ImmutableArray(Of Match(Of ExpressionSyntax, StatementSyntax, MemberAccessExpressionSyntax, AssignmentStatementSyntax))) As SeparatedSyntaxList(Of FieldInitializerSyntax)
VisualBasicValidateFormatStringDiagnosticAnalyzer.vb (1)
22arguments As SeparatedSyntaxList(Of SyntaxNode),
Wrapping\SeparatedSyntaxList\VisualBasicArgumentWrapper.vb (1)
36Protected Overrides Function GetListItems(listSyntax As ArgumentListSyntax) As SeparatedSyntaxList(Of ArgumentSyntax)
Wrapping\SeparatedSyntaxList\VisualBasicCollectionCreationExpressionWrapper.vb (1)
51Protected Overrides Function GetListItems(listSyntax As CollectionInitializerSyntax) As SeparatedSyntaxList(Of ExpressionSyntax)
Wrapping\SeparatedSyntaxList\VisualBasicParameterWrapper.vb (1)
37Protected Overrides Function GetListItems(listSyntax As ParameterListSyntax) As SeparatedSyntaxList(Of ParameterSyntax)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)
Syntax\SeparatedSyntaxListTests.vb (1)
159Private Sub DoTestAddInsertRemoveReplaceOnEmptyList(list As SeparatedSyntaxList(Of SyntaxNode))
TestSyntaxNodes.vb (4)
568Private Sub CheckEmptySeparatedList(seplist As SeparatedSyntaxList(Of TypeSyntax)) 589Private Sub CheckSingletonSeparatedList(seplist As SeparatedSyntaxList(Of TypeSyntax), start As Integer) 1174Private Function SwitchParameters(params As SeparatedSyntaxList(Of ParameterSyntax)) As SeparatedSyntaxList(Of ParameterSyntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (37)
CodeGeneration\VisualBasicSyntaxGenerator.vb (6)
44Friend Overrides Function SeparatedList(Of TElement As SyntaxNode)(list As SyntaxNodeOrTokenList) As SeparatedSyntaxList(Of TElement) 56Friend Overrides Function SeparatedList(Of TElement As SyntaxNode)(nodes As IEnumerable(Of TElement), separators As IEnumerable(Of SyntaxToken)) As SeparatedSyntaxList(Of TElement) 335Private Shared Function AsExpressionList(expressions As IEnumerable(Of SyntaxNode)) As SeparatedSyntaxList(Of ExpressionSyntax) 359Friend Overrides Function ObjectCreationExpression(typeName As SyntaxNode, openParen As SyntaxToken, arguments As SeparatedSyntaxList(Of SyntaxNode), closeParen As SyntaxToken) As SyntaxNode 486Private Function CreateArguments(arguments As IEnumerable(Of SyntaxNode)) As SeparatedSyntaxList(Of ArgumentSyntax) 528Private Shared Function GetCaseClauses(expressions As IEnumerable(Of SyntaxNode)) As SeparatedSyntaxList(Of CaseClauseSyntax)
FindSymbols\VisualBasicDeclaredSymbolInfoFactoryService.vb (2)
84types As SeparatedSyntaxList(Of TypeSyntax), 519Private Shared Sub AppendParameters(parameters As SeparatedSyntaxList(Of ParameterSyntax), builder As StringBuilder)
ImportsOrganizer.vb (2)
137Public Shared Function Organize(clauses As SeparatedSyntaxList(Of ImportsClauseSyntax)) As SeparatedSyntaxList(Of ImportsClauseSyntax)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb\SyntaxTokenExtensions.vb (1)
97Public Function IsChildSeparatorToken(Of TParent As SyntaxNode, TChild As SyntaxNode)(token As SyntaxToken, childGetter As Func(Of TParent, SeparatedSyntaxList(Of TChild))) As Boolean
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (3)
1036Friend Function LastCollectionExpression(collection As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)) As ExpressionSyntax 1047Friend Function LastRangeExpression(collection As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As ExpressionSyntax 1058Friend Function LastAggregation(collection As SeparatedSyntaxList(Of AggregationRangeVariableSyntax)) As AggregationSyntax
OrganizeImports\VisualBasicOrganizeImportsService.Rewriter.vb (4)
52Private Sub AddTextChange(Of TSyntax As SyntaxNode)(list As SeparatedSyntaxList(Of TSyntax), 53organizedList As SeparatedSyntaxList(Of TSyntax)) 70Private Shared Function GetNewText(Of TSyntax As SyntaxNode)(organizedList As SeparatedSyntaxList(Of TSyntax)) As String 78Private Shared Function GetTextSpan(Of TSyntax As SyntaxNode)(list As SeparatedSyntaxList(Of TSyntax)) As TextSpan
SpeculationAnalyzer.vb (2)
251Dim originalParams As SeparatedSyntaxList(Of ParameterSyntax), replacedParams As SeparatedSyntaxList(Of ParameterSyntax)
SyntaxTriviaExtensions.vb (1)
44Public Function IsPragmaDirective(trivia As SyntaxTrivia, ByRef isDisable As Boolean, ByRef isActive As Boolean, ByRef errorCodes As SeparatedSyntaxList(Of SyntaxNode)) As Boolean
VisualBasicInferredMemberNameSimplifier.vb (2)
53Private Function RemovalCausesAmbiguity(arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax), toRemove As SimpleArgumentSyntax) As Boolean 70Private Function RemovalCausesAmbiguity(initializers As SeparatedSyntaxList(Of FieldInitializerSyntax), toRemove As NamedFieldInitializerSyntax) As Boolean
VisualBasicSyntaxFacts.vb (14)
534Public Function GetTypeArgumentsOfGenericName(genericName As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetTypeArgumentsOfGenericName 870Private Shared Function GetSeparatedSyntaxListSpan(Of T As SyntaxNode)(list As SeparatedSyntaxList(Of T)) As TextSpan 1223Public Function GetArgumentsOfObjectCreationExpression(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfObjectCreationExpression 1228Public Function GetArgumentsOfArgumentList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfArgumentList 1232Public Function GetArgumentsOfAttributeArgumentList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfAttributeArgumentList 1435Public Sub GetPartsOfTupleExpression(Of TArgumentSyntax As SyntaxNode)(node As SyntaxNode, ByRef openParen As SyntaxToken, ByRef arguments As SeparatedSyntaxList(Of TArgumentSyntax), ByRef closeParen As SyntaxToken) Implements ISyntaxFacts.GetPartsOfTupleExpression 1438arguments = CType(CType(tupleExpr.Arguments, SeparatedSyntaxList(Of SyntaxNode)), SeparatedSyntaxList(Of TArgumentSyntax)) 1458Public Function IsPragmaDirective(trivia As SyntaxTrivia, ByRef isDisable As Boolean, ByRef isActive As Boolean, ByRef errorCodes As SeparatedSyntaxList(Of SyntaxNode)) As Boolean Implements ISyntaxFacts.IsPragmaDirective 1478Public Function GetVariablesOfLocalDeclarationStatement(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetVariablesOfLocalDeclarationStatement 1771Public Sub GetPartsOfArgumentList(node As SyntaxNode, ByRef openParenToken As SyntaxToken, ByRef arguments As SeparatedSyntaxList(Of SyntaxNode), ByRef closeParenToken As SyntaxToken) Implements ISyntaxFacts.GetPartsOfArgumentList 1825Public Sub GetPartsOfGenericName(node As SyntaxNode, ByRef identifier As SyntaxToken, ByRef typeArguments As SeparatedSyntaxList(Of SyntaxNode)) Implements ISyntaxFacts.GetPartsOfGenericName 1904Public Function GetInitializersOfObjectMemberInitializer(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetInitializersOfObjectMemberInitializer 1913Public Function GetExpressionsOfObjectCollectionInitializer(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetExpressionsOfObjectCollectionInitializer
Microsoft.CodeAnalysis.Workspaces (22)
AbstractMoveDeclarationNearReferenceService.State.cs (1)
64var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(DeclarationStatement);
Editing\SyntaxGenerator.cs (5)
1433internal abstract SeparatedSyntaxList<TElement> SeparatedList<TElement>(SyntaxNodeOrTokenList list) where TElement : SyntaxNode; 1435internal abstract SeparatedSyntaxList<TElement> SeparatedList<TElement>(IEnumerable<TElement> nodes, IEnumerable<SyntaxToken> separators) where TElement : SyntaxNode; 1536protected static SeparatedSyntaxList<TNode> RemoveRange<TNode>(SeparatedSyntaxList<TNode> list, int offset, int count) 2189SyntaxNode namedType, SyntaxToken openParen, SeparatedSyntaxList<SyntaxNode> arguments, SyntaxToken closeParen);
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (1)
447var expressions = state.SyntaxFacts.GetExpressionsOfObjectCollectionInitializer(node);
ISyntaxFacts.cs (11)
183bool IsPragmaDirective(SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes); 205out SyntaxToken openParen, out SeparatedSyntaxList<TArgumentSyntax> arguments, out SyntaxToken closeParen) where TArgumentSyntax : SyntaxNode; 317SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(SyntaxNode? genericName); 321SeparatedSyntaxList<SyntaxNode> GetArgumentsOfObjectCreationExpression(SyntaxNode node); 322SeparatedSyntaxList<SyntaxNode> GetArgumentsOfArgumentList(SyntaxNode node); 323SeparatedSyntaxList<SyntaxNode> GetArgumentsOfAttributeArgumentList(SyntaxNode node); 360SeparatedSyntaxList<SyntaxNode> GetVariablesOfLocalDeclarationStatement(SyntaxNode node); 512void GetPartsOfArgumentList(SyntaxNode node, out SyntaxToken openParenToken, out SeparatedSyntaxList<SyntaxNode> arguments, out SyntaxToken closeParenToken); 520void GetPartsOfGenericName(SyntaxNode node, out SyntaxToken identifier, out SeparatedSyntaxList<SyntaxNode> typeArguments); 553SeparatedSyntaxList<SyntaxNode> GetInitializersOfObjectMemberInitializer(SyntaxNode node); 554SeparatedSyntaxList<SyntaxNode> GetExpressionsOfObjectCollectionInitializer(SyntaxNode node);
ISyntaxFactsExtensions.cs (3)
497public static SeparatedSyntaxList<SyntaxNode> GetArgumentsOfInvocationExpression(this ISyntaxFacts syntaxFacts, SyntaxNode node) 590public static SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(this ISyntaxFacts syntaxFacts, SyntaxNode node) 592syntaxFacts.GetPartsOfGenericName(node, out _, out var typeArguments);
Recommendations\AbstractRecommendationServiceRunner.cs (1)
91var arguments = syntaxFactsService.GetArgumentsOfInvocationExpression(invocationExpression);
Microsoft.VisualStudio.LanguageServices.CSharp (15)
CodeModel\CSharpCodeModelService.CodeModelEventCollector.cs (4)
107var oldArguments = oldAttributeArguments.Arguments; 108var newArguments = newAttributeArguments.Arguments; 688var oldTypes = oldType.BaseList.Types; 689var newTypes = newType.BaseList.Types;
CodeModel\CSharpCodeModelService.cs (10)
2775var members = enumDeclaration.Members; 2776var newMembers = members.Remove(node); 3247var newMembers = enumDeclaration.Members.Insert(index, (EnumMemberDeclarationSyntax)member); 3255var newMembers = enumDeclaration.Members.Insert(index, (EnumMemberDeclarationSyntax)member); 3339var newArguments = argumentList.Arguments.Insert(index, (AttributeArgumentSyntax)attributeArgument); 3480var parameterList = method.ParameterList.Parameters.Insert(index, (ParameterSyntax)parameter); 3485var parameterList = indexer.ParameterList.Parameters.Insert(index, (ParameterSyntax)parameter); 3490var parameterList = delegateDeclaration.ParameterList.Parameters.Insert(index, (ParameterSyntax)parameter); 3799var newTypes = typeDeclaration.BaseList.Types.Remove(baseType); 3885var newTypes = typeDeclaration.BaseList.Types.Remove(baseType);
CodeModel\SyntaxListExtensions.cs (1)
27public static IReadOnlyList<TNode> AsReadOnlyList<TNode>(this SeparatedSyntaxList<TNode> separatedList)
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
CodeModel\SyntaxListExtensions.vb (1)
20Public Function AsReadOnlyList(Of TNode As SyntaxNode)(list As SeparatedSyntaxList(Of TNode)) As IReadOnlyList(Of TNode)
CodeModel\VisualBasicCodeModelService.CodeModelEventCollector.vb (2)
156Private Shared Function GetNames(variableDeclarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As IReadOnlyList(Of ModifiedIdentifierSyntax) 162Private Shared Function GetParameters(parameterList As ParameterListSyntax) As SeparatedSyntaxList(Of ParameterSyntax)