148 instantiations of SeparatedSyntaxList
Microsoft.CodeAnalysis (11)
Syntax\SeparatedSyntaxList.cs (8)
25return new SeparatedSyntaxList<TNode>(new SyntaxNodeOrTokenList(nodes[0], index: 0)); 446return new SeparatedSyntaxList<TNode>(nodesWithSeps.InsertRange(insertionIndex, nodesToInsertWithSeparators)); 502return new SeparatedSyntaxList<TNode>(nodesWithSeps); 523return new SeparatedSyntaxList<TNode>(this.GetWithSeparators().Replace(nodeInList, newNode)); 584return new SeparatedSyntaxList<TNode>(nodesWithSeps.Replace(separatorToken, newSeparator)); 629return new SeparatedSyntaxList<SyntaxNode>(nodes._list); 636return new SeparatedSyntaxList<TNode>(nodes._list); 641return 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.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
252var list = new SeparatedSyntaxList<TupleElementSyntax>();
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (2)
55var ids = new SeparatedSyntaxList<ExpressionSyntax>().Add(id); 160var attributes = new SeparatedSyntaxList<AttributeSyntax>()
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (32)
Generated\Syntax.Test.xml.Generated.cs (32)
10239=> SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.LessThanToken), new SeparatedSyntaxList<TypeSyntax>(), SyntaxFactory.Token(SyntaxKind.GreaterThanToken)); 10251=> SyntaxFactory.ArrayRankSpecifier(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10260=> SyntaxFactory.FunctionPointerParameterList(SyntaxFactory.Token(SyntaxKind.LessThanToken), new SeparatedSyntaxList<FunctionPointerParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.GreaterThanToken)); 10266=> SyntaxFactory.FunctionPointerUnmanagedCallingConventionList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<FunctionPointerUnmanagedCallingConventionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10275=> SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<TupleElementSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10293=> SyntaxFactory.TupleExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<ArgumentSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10371=> SyntaxFactory.ArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<ArgumentSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10374=> SyntaxFactory.BracketedArgumentList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<ArgumentSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10404=> SyntaxFactory.InitializerExpression(SyntaxKind.ObjectInitializerExpression, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SeparatedSyntaxList<ExpressionSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10419=> SyntaxFactory.AnonymousObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10434=> SyntaxFactory.CollectionExpression(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<CollectionElementSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10464=> SyntaxFactory.OrderByClause(SyntaxFactory.Token(SyntaxKind.OrderByKeyword), new SeparatedSyntaxList<OrderingSyntax>()); 10506=> SyntaxFactory.PositionalPatternClause(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<SubpatternSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10509=> SyntaxFactory.PropertyPatternClause(SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SeparatedSyntaxList<SubpatternSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10533=> SyntaxFactory.ListPattern(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<PatternSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken), default(VariableDesignationSyntax)); 10563=> SyntaxFactory.VariableDeclaration(GenerateIdentifierName(), new SeparatedSyntaxList<VariableDeclaratorSyntax>()); 10578=> SyntaxFactory.ParenthesizedVariableDesignation(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<VariableDesignationSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10614=> 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()); 10659=> SyntaxFactory.SwitchExpression(GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.SwitchKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), new SeparatedSyntaxList<SwitchExpressionArmSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)); 10695=> SyntaxFactory.AttributeList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), default(AttributeTargetSpecifierSyntax), new SeparatedSyntaxList<AttributeSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10704=> SyntaxFactory.AttributeArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<AttributeArgumentSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10713=> SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.LessThanToken), new SeparatedSyntaxList<TypeParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.GreaterThanToken)); 10731=> 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)); 10740=> SyntaxFactory.BaseList(SyntaxFactory.Token(SyntaxKind.ColonToken), new SeparatedSyntaxList<BaseTypeSyntax>()); 10749=> SyntaxFactory.TypeParameterConstraintClause(SyntaxFactory.Token(SyntaxKind.WhereKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.ColonToken), new SeparatedSyntaxList<TypeParameterConstraintSyntax>()); 10764=> SyntaxFactory.AllowsConstraintClause(SyntaxFactory.Token(SyntaxKind.AllowsKeyword), new SeparatedSyntaxList<AllowsConstraintSyntax>()); 10815=> SyntaxFactory.ParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<ParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10818=> SyntaxFactory.BracketedParameterList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<ParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10854=> SyntaxFactory.CrefParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), new SeparatedSyntaxList<CrefParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)); 10857=> SyntaxFactory.CrefBracketedParameterList(SyntaxFactory.Token(SyntaxKind.OpenBracketToken), new SeparatedSyntaxList<CrefParameterSyntax>(), SyntaxFactory.Token(SyntaxKind.CloseBracketToken)); 10944=> 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());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
252var list = new SeparatedSyntaxList<TupleElementSyntax>();
Microsoft.CodeAnalysis.VisualBasic (2)
Syntax\SyntaxNodeFactories.vb (2)
861Return New SeparatedSyntaxList(Of TNode) 950Return New SeparatedSyntaxList(Of TNode)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
CodeFixes\Suppression\VisualBasicSuppressionCodeFixProvider.vb (1)
48Return New SeparatedSyntaxList(Of IdentifierNameSyntax)().Add(SyntaxFactory.IdentifierName(text))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (98)
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)())
938 references to SeparatedSyntaxList
Microsoft.AspNetCore.App.CodeFixes (2)
RouteParameterUnusedParameterFixer.cs (2)
109var newParameters = syntax.ParameterList.Parameters.Insert(parameterIndex, parameterSyntax); 120var newParameters = syntax.ParameterList.Parameters.Insert(parameterIndex, parameterSyntax);
Microsoft.CodeAnalysis (36)
SourceGeneration\ISyntaxHelper.cs (2)
18SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node); 52public abstract SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node);
Syntax\SeparatedSyntaxList.cs (24)
19public static SeparatedSyntaxList<TNode> Create<TNode>(ReadOnlySpan<TNode> nodes) where TNode : SyntaxNode 44public readonly partial struct SeparatedSyntaxList<TNode> : IEquatable<SeparatedSyntaxList<TNode>>, IReadOnlyList<TNode> where TNode : SyntaxNode 334public static bool operator ==(SeparatedSyntaxList<TNode> left, SeparatedSyntaxList<TNode> right) 339public static bool operator !=(SeparatedSyntaxList<TNode> left, SeparatedSyntaxList<TNode> right) 344public bool Equals(SeparatedSyntaxList<TNode> other) 351return (obj is SeparatedSyntaxList<TNode> list) && Equals(list); 363public SeparatedSyntaxList<TNode> Add(TNode node) 372public SeparatedSyntaxList<TNode> AddRange(IEnumerable<TNode> nodes) 382public SeparatedSyntaxList<TNode> Insert(int index, TNode node) 397public SeparatedSyntaxList<TNode> InsertRange(int index, IEnumerable<TNode> nodes) 469public SeparatedSyntaxList<TNode> RemoveAt(int index) 483public SeparatedSyntaxList<TNode> Remove(TNode node) 513public SeparatedSyntaxList<TNode> Replace(TNode nodeInList, TNode newNode) 534public SeparatedSyntaxList<TNode> ReplaceRange(TNode nodeInList, IEnumerable<TNode> newNodes) 550var listWithFirstReplaced = this.Replace(nodeInList, newNodeList[0]); 569public SeparatedSyntaxList<TNode> ReplaceSeparator(SyntaxToken separatorToken, SyntaxToken newSeparator) 627public static implicit operator SeparatedSyntaxList<SyntaxNode>(SeparatedSyntaxList<TNode> nodes) 634public static SeparatedSyntaxList<TNode> op_Implicit(SeparatedSyntaxList<SyntaxNode> nodes) 639public static explicit 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 (30)
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForIfNullCheckDiagnosticAnalyzer.cs (1)
144var declarators = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement);
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerAnalyzer.cs (2)
99var initializerExpressions = this.SyntaxFacts.GetExpressionsOfObjectCollectionInitializer(initializer); 225var elementAccessArguments = this.SyntaxFacts.GetArgumentsOfArgumentList(argumentList);
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (3)
187out var arguments)) 221out var arguments)) 275out SeparatedSyntaxList<SyntaxNode> arguments)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UseCollectionInitializerHelpers.cs (1)
34var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(expression);
src\Analyzers\Core\Analyzers\UseIsNullCheck\AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (1)
89var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer.cs (1)
283var arguments = syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
src\Analyzers\Core\Analyzers\ValidateFormatString\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,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFacts.cs (12)
178bool IsPragmaDirective(SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes); 200out SyntaxToken openParen, out SeparatedSyntaxList<TArgumentSyntax> arguments, out SyntaxToken closeParen) where TArgumentSyntax : SyntaxNode; 312SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(SyntaxNode? genericName); 316SeparatedSyntaxList<SyntaxNode> GetArgumentsOfObjectCreationExpression(SyntaxNode node); 317SeparatedSyntaxList<SyntaxNode> GetArgumentsOfArgumentList(SyntaxNode node); 318SeparatedSyntaxList<SyntaxNode> GetArgumentsOfAttributeArgumentList(SyntaxNode node); 324SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node); 355SeparatedSyntaxList<SyntaxNode> GetVariablesOfLocalDeclarationStatement(SyntaxNode node); 512void GetPartsOfArgumentList(SyntaxNode node, out SyntaxToken openParenToken, out SeparatedSyntaxList<SyntaxNode> arguments, out SyntaxToken closeParenToken); 521void GetPartsOfGenericName(SyntaxNode node, out SyntaxToken identifier, out SeparatedSyntaxList<SyntaxNode> typeArguments); 555SeparatedSyntaxList<SyntaxNode> GetInitializersOfObjectMemberInitializer(SyntaxNode node); 556SeparatedSyntaxList<SyntaxNode> GetExpressionsOfObjectCollectionInitializer(SyntaxNode node);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (3)
495public static SeparatedSyntaxList<SyntaxNode> GetArgumentsOfInvocationExpression(this ISyntaxFacts syntaxFacts, SyntaxNode node) 594public static SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(this ISyntaxFacts syntaxFacts, SyntaxNode node) 596syntaxFacts.GetPartsOfGenericName(node, out _, out var typeArguments);
Microsoft.CodeAnalysis.CodeStyle.Fixes (14)
src\Analyzers\Core\CodeFixes\AddExplicitCast\Fixer.cs (2)
26protected abstract SeparatedSyntaxList<TArgumentSyntax> GetArgumentsOfArgumentList(TArgumentListSyntax argumentList); 127var arguments = GetArgumentsOfArgumentList(argumentList);
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (9)
125var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfInvocationExpression(invocationExpression); 174var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfObjectCreationExpression(objectCreation); 187SeparatedSyntaxList<TArgumentSyntax> arguments, 231SeparatedSyntaxList<TArgumentSyntax> arguments, 322SeparatedSyntaxList<TArgumentSyntax> arguments, 370SeparatedSyntaxList<TArgumentSyntax> argumentList, 435SeparatedSyntaxList<TArgumentSyntax> arguments)
src\Analyzers\Core\CodeFixes\AddParameter\RegisterFixData.cs (1)
9internal sealed class RegisterFixData<TArgumentSyntax>(SeparatedSyntaxList<TArgumentSyntax> arguments, ImmutableArray<IMethodSymbol> methodCandidates, bool isConstructorInitializer)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (2)
616if (ShouldRemoveStatement(localDeclarationStatement, out var variables)) 726bool ShouldRemoveStatement(TLocalDeclarationStatementSyntax localDeclarationStatement, out SeparatedSyntaxList<SyntaxNode> variables)
Microsoft.CodeAnalysis.CSharp (114)
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_Await.cs (1)
372var 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 (11)
999SeparatedSyntaxList<ArgumentSyntax> arguments = node.Arguments; 1079SeparatedSyntaxList<ArgumentSyntax> arguments, BindingDiagnosticBag diagnostics) 1584SeparatedSyntaxList<TypeSyntax> typeArgumentList = node.Kind() == SyntaxKind.GenericName 1586: default(SeparatedSyntaxList<TypeSyntax>); 7540SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax = right.Kind() == SyntaxKind.GenericName ? 7542default(SeparatedSyntaxList<TypeSyntax>); 7663var typeArgumentsSyntax = right.Kind() == SyntaxKind.GenericName ? ((GenericNameSyntax)right).TypeArgumentList.Arguments : default(SeparatedSyntaxList<TypeSyntax>); 7759SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, 7833SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, 7929SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, 8227SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax,
Binder\Binder_Invocation.cs (2)
83SeparatedSyntaxList<TypeSyntax> typeArgsSyntax = default(SeparatedSyntaxList<TypeSyntax>),
Binder\Binder_Lambda.cs (3)
55SeparatedSyntaxList<ParameterSyntax>? parameterSyntaxList = null; 246static ImmutableArray<bool> computeDiscards(SeparatedSyntaxList<ParameterSyntax> parameters, int underscoresCount) 307SeparatedSyntaxList<ParameterSyntax> parameterSyntaxList, BindingDiagnosticBag diagnostics)
Binder\Binder_Patterns.cs (2)
259SeparatedSyntaxList<PatternSyntax> subpatterns, 1555typeArgumentsSyntax: default(SeparatedSyntaxList<TypeSyntax>),
Binder\Binder_Query.cs (3)
880return MakeQueryInvocation(node, receiver, methodName, default(SeparatedSyntaxList<TypeSyntax>), default(ImmutableArray<TypeWithAnnotations>), ImmutableArray.Create(arg), diagnostics 893return MakeQueryInvocation(node, receiver, methodName, default(SeparatedSyntaxList<TypeSyntax>), default(ImmutableArray<TypeWithAnnotations>), args, diagnostics 913protected BoundCall MakeQueryInvocation(CSharpSyntaxNode node, BoundExpression receiver, string methodName, SeparatedSyntaxList<TypeSyntax> typeArgsSyntax, ImmutableArray<TypeWithAnnotations> typeArgs, ImmutableArray<BoundExpression> args, BindingDiagnosticBag diagnostics
Binder\Binder_Statements.cs (1)
2855internal BoundStatement BindStatementExpressionList(SeparatedSyntaxList<ExpressionSyntax> statements, BindingDiagnosticBag diagnostics)
Binder\Binder_Symbols.cs (5)
1204SeparatedSyntaxList<TypeSyntax> typeArguments = node.TypeArgumentList.Arguments; 1337private ImmutableArray<TypeWithAnnotations> BindTypeArguments(SeparatedSyntaxList<TypeSyntax> typeArguments, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved = null) 1372private NamedTypeSymbol ConstructNamedTypeUnlessTypeArgumentOmitted(SyntaxNode typeSyntax, NamedTypeSymbol type, SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, ImmutableArray<TypeWithAnnotations> typeArguments, BindingDiagnosticBag diagnostics) 1417SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, 1571SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax,
Binder\ExpressionListVariableBinder.cs (2)
18private readonly SeparatedSyntaxList<ExpressionSyntax> _expressions; 20internal ExpressionListVariableBinder(SeparatedSyntaxList<ExpressionSyntax> expressions, Binder next) : base(next)
Binder\ExpressionVariableFinder.cs (2)
113SeparatedSyntaxList<ExpressionSyntax> nodes) 574SeparatedSyntaxList<ExpressionSyntax> nodes)
Binder\ForLoopBinder.cs (1)
102SeparatedSyntaxList<ExpressionSyntax> incrementors = node.Incrementors;
Binder\LocalBinderFactory.cs (1)
627SeparatedSyntaxList<ExpressionSyntax> incrementors = node.Incrementors;
Binder\OpenTypeVisitor.cs (1)
42SeparatedSyntaxList<TypeSyntax> typeArguments = node.TypeArgumentList.Arguments;
Binder\WithCrefTypeParametersBinder.cs (1)
119SeparatedSyntaxList<TypeSyntax> typeArguments = genericNameSyntax.TypeArgumentList.Arguments;
BoundTree\UnboundLambda.cs (3)
402SeparatedSyntaxList<ParameterSyntax>? syntaxList, 1437private readonly SeparatedSyntaxList<ParameterSyntax>? _parameterSyntaxList; 1452SeparatedSyntaxList<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
Parser\DirectiveParser.cs (2)
626return SyntaxFactory.PragmaWarningDirectiveTrivia(hash, pragma, warning, style, default(SeparatedSyntaxList<ExpressionSyntax>), end, isActive); 672return SyntaxFactory.PragmaWarningDirectiveTrivia(hash, pragma, warning, style, default(SeparatedSyntaxList<ExpressionSyntax>), eod, isActive);
Parser\LanguageParser.cs (22)
1213var argNodes = this.ParseCommaSeparatedSyntaxList( 3348default(SeparatedSyntaxList<ParameterSyntax>), 4495var parameters = this.ParseParameterList(out var open, out var close, SyntaxKind.OpenParenToken, SyntaxKind.CloseParenToken); 4506var parameters = this.ParseParameterList(out var open, out var close, SyntaxKind.OpenBracketToken, SyntaxKind.CloseBracketToken); 4566private SeparatedSyntaxList<ParameterSyntax> ParseParameterList( 4905var variables = this.ParseFieldDeclarationVariableDeclarators(type, flags: VariableFlags.LocalOrField, parentKind); 4941var variables = this.ParseFieldDeclarationVariableDeclarators(type, flags: 0, parentKind); 4961private SeparatedSyntaxList<VariableDeclaratorSyntax> ParseFieldDeclarationVariableDeclarators( 5536var members = default(SeparatedSyntaxList<EnumMemberDeclarationSyntax>); 5768var parameters = this.ParseCommaSeparatedSyntaxList( 9190(VariableDeclarationSyntax variableDeclaration, SeparatedSyntaxList<ExpressionSyntax> initializers) eatVariableDeclarationOrInitializers() 9261SeparatedSyntaxList<ExpressionSyntax> parseForStatementExpressionList(ref SyntaxToken startToken, bool allowSemicolonAsSeparator) 11873arguments: out SeparatedSyntaxList<ArgumentSyntax> arguments, 11889arguments: out SeparatedSyntaxList<ArgumentSyntax> arguments, 11898out SeparatedSyntaxList<ArgumentSyntax> arguments, 12716var list = this.ParseCommaSeparatedSyntaxList( 12851default(SeparatedSyntaxList<ArgumentSyntax>), 12935static bool isObjectInitializer(SeparatedSyntaxList<ExpressionSyntax> initializers) 13090var list = this.ParseCommaSeparatedSyntaxList( 13896private SeparatedSyntaxList<TNode> ParseCommaSeparatedSyntaxList<TNode>( 13918private SeparatedSyntaxList<TNode> ParseCommaSeparatedSyntaxList<TNode>(
Parser\LanguageParser_Patterns.cs (1)
580SeparatedSyntaxList<SwitchExpressionArmSyntax> parseSwitchExpressionArms()
SourceGeneration\CSharpSyntaxHelper.cs (1)
52public override SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node)
Symbols\ConstraintsHelper.cs (1)
673SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax, // may be omitted in synthesized invocations
Symbols\Source\ParameterHelpers.cs (2)
66SeparatedSyntaxList<FunctionPointerParameterSyntax> parametersList, 116SeparatedSyntaxList<TParameterSyntax> parametersList,
Symbols\Source\SourceFixedFieldSymbol.cs (1)
70SeparatedSyntaxList<ArgumentSyntax> arguments = declarator.ArgumentList.Arguments;
Symbols\Source\SourceNamedTypeSymbol.cs (1)
48SeparatedSyntaxList<BaseTypeSyntax> inheritedTypeDecls = bases.Types;
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\InternalSyntax\CSharpSyntaxRewriter.cs (2)
70public SeparatedSyntaxList<TNode> VisitList<TNode>(SeparatedSyntaxList<TNode> list) where TNode : CSharpSyntaxNode
Syntax\InternalSyntax\SyntaxFactory.cs (5)
302public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(TNode node) where TNode : CSharpSyntaxNode 307public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(SyntaxToken token) where TNode : CSharpSyntaxNode 312public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(TNode node1, SyntaxToken token, TNode node2) where TNode : CSharpSyntaxNode 317public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(params CSharpSyntaxNode[] nodes) where TNode : CSharpSyntaxNode 324return default(SeparatedSyntaxList<TNode>);
Syntax\LambdaUtilities.cs (1)
448SeparatedSyntaxList<ExpressionSyntax> incrementors = ((ForStatementSyntax)node.Parent).Incrementors;
Syntax\SyntaxFactory.cs (16)
1333public static SeparatedSyntaxList<TNode> SeparatedList<TNode>() where TNode : SyntaxNode 1335return default(SeparatedSyntaxList<TNode>); 1343public static SeparatedSyntaxList<TNode> SingletonSeparatedList<TNode>(TNode node) where TNode : SyntaxNode 1353public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(IEnumerable<TNode>? nodes) where TNode : SyntaxNode 1357return default(SeparatedSyntaxList<TNode>); 1364return default(SeparatedSyntaxList<TNode>); 1371return default(SeparatedSyntaxList<TNode>); 1405public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(IEnumerable<TNode>? nodes, IEnumerable<SyntaxToken>? separators) where TNode : SyntaxNode 1445return default(SeparatedSyntaxList<TNode>); 1453public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(IEnumerable<SyntaxNodeOrToken> nodesAndTokens) where TNode : SyntaxNode 1464public static SeparatedSyntaxList<TNode> SeparatedList<TNode>(SyntaxNodeOrTokenList nodesAndTokens) where TNode : SyntaxNode 2043public static bool AreEquivalent<TNode>(SeparatedSyntaxList<TNode> oldList, SeparatedSyntaxList<TNode> newList, bool topLevel) 2058public static bool AreEquivalent<TNode>(SeparatedSyntaxList<TNode> oldList, SeparatedSyntaxList<TNode> newList, Func<SyntaxKind, bool>? ignoreChildNode = null) 2929public 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 (28)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (2)
140var invokedTypeArguments = invokedExpression.GetRightmostName() is GenericNameSyntax genericName 287private static SeparatedSyntaxList<ParameterSyntax> GetParameters(AnonymousFunctionExpressionSyntax expression)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderDiagnosticAnalyzer.cs (1)
140var arguments = invocationExpression.ArgumentList.Arguments;
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
356SeparatedSyntaxList<ArgumentSyntax> arguments,
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (3)
914var arguments = invocationExpression.ArgumentList.Arguments; 1176public static SeparatedSyntaxList<ArgumentSyntax> GetArguments(ArgumentListSyntax argumentList, bool unwrapArgument) 1178var arguments = argumentList.Arguments;
src\Analyzers\CSharp\Analyzers\ValidateFormatString\CSharpValidateFormatStringDiagnosticAnalyzer.cs (1)
22SeparatedSyntaxList<SyntaxNode> arguments,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ILocalSymbolExtensions.cs (1)
32SeparatedSyntaxList<TypeParameterSyntax>? typeParameters;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaExtensions.cs (1)
201public static bool IsPragmaDirective(this SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (14)
558public SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(SyntaxNode? genericName) 1209public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfObjectCreationExpression(SyntaxNode objectCreationExpression) 1214public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfArgumentList(SyntaxNode argumentList) 1217public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfAttributeArgumentList(SyntaxNode argumentList) 1229public bool IsPragmaDirective(SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes) 1368out SyntaxToken openParen, out SeparatedSyntaxList<TArgumentSyntax> arguments, out SyntaxToken closeParen) where TArgumentSyntax : SyntaxNode 1372arguments = (SeparatedSyntaxList<TArgumentSyntax>)(SeparatedSyntaxList<SyntaxNode>)tupleExpression.Arguments; 1389public SeparatedSyntaxList<SyntaxNode> GetVariablesOfLocalDeclarationStatement(SyntaxNode node) 1588public void GetPartsOfArgumentList(SyntaxNode node, out SyntaxToken openParenToken, out SeparatedSyntaxList<SyntaxNode> arguments, out SyntaxToken closeParenToken) 1649public void GetPartsOfGenericName(SyntaxNode node, out SyntaxToken identifier, out SeparatedSyntaxList<SyntaxNode> typeArguments) 1750public SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node) 1762public SeparatedSyntaxList<SyntaxNode> GetInitializersOfObjectMemberInitializer(SyntaxNode node) 1765public SeparatedSyntaxList<SyntaxNode> GetExpressionsOfObjectCollectionInitializer(SyntaxNode node)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpInferredMemberNameSimplifier.cs (2)
62private static bool RemovalCausesAmbiguity(SeparatedSyntaxList<ArgumentSyntax> arguments, ArgumentSyntax toRemove) 84private static bool RemovalCausesAmbiguity(SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax> initializers, AnonymousObjectMemberDeclaratorSyntax toRemove)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
204var originalParams = originalParenthesizedLambda.ParameterList.Parameters; 211var replacedParams = replacedParenthesizedLambda.ParameterList.Parameters;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (34)
src\Analyzers\CSharp\CodeFixes\AddExplicitCast\ArgumentFixer.cs (1)
26protected override SeparatedSyntaxList<ArgumentSyntax> GetArgumentsOfArgumentList(ArgumentListSyntax argumentList)
src\Analyzers\CSharp\CodeFixes\AddExplicitCast\AttributeArgumentFixer.cs (1)
26protected override SeparatedSyntaxList<AttributeArgumentSyntax> GetArgumentsOfArgumentList(AttributeArgumentListSyntax argumentList)
src\Analyzers\CSharp\CodeFixes\AddParameter\CSharpAddParameterCodeFixProvider.cs (1)
69var arguments = constructorInitializer.ArgumentList.Arguments;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
281var typeList = baseList.Types;
src\Analyzers\CSharp\CodeFixes\GenerateConstructor\CSharpGenerateConstructorService.cs (2)
72private static ImmutableArray<Argument> GetArguments(SeparatedSyntaxList<ArgumentSyntax> arguments) 75private static ImmutableArray<Argument> GetArguments(SeparatedSyntaxList<AttributeArgumentSyntax> arguments)
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (2)
109var newArgumentsList = currentInvocation.ArgumentList.Arguments.AddRange(newArguments); 185var parameters = parameterList.Parameters;
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
292var typeArguments = generic.TypeArgumentList.Arguments;
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (3)
327SeparatedSyntaxList<CollectionElementSyntax> FixLeadingAndTrailingWhitespace( 328SeparatedSyntaxList<CollectionElementSyntax> elements, 832var arguments = invocation.ArgumentList.Arguments;
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (2)
105SeparatedSyntaxList<ArgumentSyntax> arguments, 141static async Task<SeparatedSyntaxList<ArgumentSyntax>> GetArgumentsAsync(
src\Analyzers\CSharp\CodeFixes\UseCollectionInitializer\CSharpUseCollectionInitializerCodeFixProvider_CollectionInitializer.cs (6)
29var expressions = CreateCollectionInitializerExpressions(); 30var withLineBreaks = AddLineBreaks(expressions); 35SeparatedSyntaxList<ExpressionSyntax> CreateCollectionInitializerExpressions() 72static SeparatedSyntaxList<TNode> AddLineBreaks<TNode>(SeparatedSyntaxList<TNode> nodes) 117var arguments = invocation.ArgumentList.Arguments;
src\Analyzers\CSharp\CodeFixes\UseIndexOrRangeOperator\CSharpUseRangeOperatorCodeFixProvider.cs (1)
89var arguments = SingletonSeparatedList(argument);
src\Analyzers\CSharp\CodeFixes\UseObjectInitializer\CSharpUseObjectInitializerCodeFixProvider.cs (1)
54private static SeparatedSyntaxList<ExpressionSyntax> CreateExpressions(
src\Analyzers\CSharp\CodeFixes\UseObjectInitializer\UseInitializerHelpers.cs (1)
18SeparatedSyntaxList<ExpressionSyntax> expressions)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (2)
447var attributes = attributeList.Attributes; 462var newAttributes = SeparatedList(attributes.Where(a => a != attributeToRemove));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
252var list = new SeparatedSyntaxList<TupleElementSyntax>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SeparatedSyntaxListExtensions.cs (5)
11public static SeparatedSyntaxList<T> AddRangeWithTrailingSeparator<T>( 12this SeparatedSyntaxList<T> separatedList, IEnumerable<T> nodes, SyntaxKind separator = SyntaxKind.CommaToken) 18public static SeparatedSyntaxList<T> InsertRangeWithTrailingSeparator<T>( 19this SeparatedSyntaxList<T> separatedList, int index, IEnumerable<T> nodes, SyntaxKind separator = SyntaxKind.CommaToken) 22var newList = separatedList.InsertRange(index, nodes);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
335Indenter indenter, SeparatedSyntaxList<T> list, SyntaxToken token) where T : SyntaxNode
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
130private SeparatedSyntaxList<VariableDeclaratorSyntax> _currentNonDiscardVariables = [];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
2277SeparatedSyntaxList<ArgumentSyntax> arguments,
Microsoft.CodeAnalysis.CSharp.Features (85)
ChangeSignature\CSharpChangeSignatureService.cs (22)
320var updatedParameters = UpdateDeclaration(method.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 326var updatedParameters = UpdateDeclaration(typeWithParameters.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 332var updatedParameters = UpdateDeclaration(localFunction.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 338var updatedParameters = UpdateDeclaration(constructor.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 344var updatedParameters = UpdateDeclaration(indexer.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 350var updatedParameters = UpdateDeclaration(delegateDeclaration.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 362var updatedParameters = UpdateDeclaration(anonymousMethod.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax); 392var updatedParameters = UpdateDeclaration( 408var newParameters = UpdateDeclaration(nameMemberCref.Parameters.Parameters, signaturePermutation, CreateNewCrefParameterSyntax); 524var newArguments = PermuteArgumentList( 559var newArguments = PermuteAttributeArgumentList( 665private SeparatedSyntaxList<T> UpdateDeclaration<T>( 666SeparatedSyntaxList<T> list, 690private async Task<SeparatedSyntaxList<TArgumentSyntax>> AddNewArgumentsToListAsync<TArgumentSyntax>( 692SeparatedSyntaxList<TArgumentSyntax> newArguments, 693SeparatedSyntaxList<TArgumentSyntax> originalArguments, 714private SeparatedSyntaxList<AttributeArgumentSyntax> PermuteAttributeArgumentList( 716SeparatedSyntaxList<AttributeArgumentSyntax> arguments, 730private SeparatedSyntaxList<ArgumentSyntax> PermuteArgumentList( 732SeparatedSyntaxList<ArgumentSyntax> arguments, 750private ImmutableArray<T> TransferLeadingWhitespaceTrivia<T, U>(IEnumerable<T> newArguments, SeparatedSyntaxList<U> oldArguments) 903protected override TArgumentSyntax CreateExplicitParamsArrayFromIndividualArguments<TArgumentSyntax>(SeparatedSyntaxList<TArgumentSyntax> newArguments, int indexInExistingList, IParameterSymbol parameterSymbol)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (2)
55var ids = new SeparatedSyntaxList<ExpressionSyntax>().Add(id); 160var attributes = new SeparatedSyntaxList<AttributeSyntax>()
Completion\CompletionProviders\InternalsVisibleToCompletionProvider.cs (1)
50var arguments = ((AttributeSyntax)internalsVisibleToAttribute).ArgumentList!.Arguments;
ConvertAnonymousType\CSharpConvertAnonymousTypeToClassCodeRefactoringProvider.cs (2)
47private SeparatedSyntaxList<ArgumentSyntax> CreateArguments(SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax> initializers)
ConvertAnonymousType\CSharpConvertAnonymousTypeToTupleCodeRefactoringProvider.cs (3)
38private static SeparatedSyntaxList<ArgumentSyntax> ConvertInitializers(SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax> initializers) 41private static IEnumerable<SyntaxToken> GetSeparators(SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax> initializers)
ConvertLinq\ConvertForEachToLinqQuery\AbstractToMethodConverter.cs (1)
59var variables = ((LocalDeclarationStatementSyntax)previous).Declaration.Variables;
Debugging\CSharpProximityExpressionsService.RelevantExpressionsCollector.cs (1)
88SeparatedSyntaxList<VariableDeclaratorSyntax> declarators,
Debugging\LocationInfoGetter.cs (1)
42var variableDeclarators = ((BaseFieldDeclarationSyntax)memberDeclaration).Declaration.Variables;
EditAndContinue\BreakpointSpans.cs (3)
230static ParameterSyntax? GetParameter(int position, SeparatedSyntaxList<ParameterSyntax> parameters) 873private static VariableDeclaratorSyntax? FindClosestDeclaratorWithInitializer(SeparatedSyntaxList<VariableDeclaratorSyntax> declarators, int position) 900private static int GetItemIndexByPosition<TNode>(SeparatedSyntaxList<TNode> list, int position)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (4)
1055OneOrMany<(ISymbol? oldSymbol, ISymbol? newSymbol)> AddFieldSymbolUpdates(SeparatedSyntaxList<VariableDeclaratorSyntax> oldVariables, SeparatedSyntaxList<VariableDeclaratorSyntax> newVariables) 3064private static bool DeclareSameIdentifiers(SeparatedSyntaxList<VariableDeclaratorSyntax> oldVariables, SeparatedSyntaxList<VariableDeclaratorSyntax> newVariables)
EditAndContinue\SyntaxComparer.cs (1)
1570internal static IEnumerable<SyntaxToken> GetDescendantTokensIgnoringSeparators<TSyntaxNode>(SeparatedSyntaxList<TSyntaxNode> list)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
186private SeparatedSyntaxList<TypeSyntax> CreateMethodCallTypeVariables()
IntroduceParameter\CSharpIntroduceParameterCodeRefactoringProvider.cs (1)
43protected override SyntaxNode UpdateArgumentListSyntax(SyntaxNode argumentList, SeparatedSyntaxList<ArgumentSyntax> arguments)
RemoveUnusedVariable\CSharpRemoveUnusedVariableCodeFixProvider.cs (1)
70protected override SeparatedSyntaxList<SyntaxNode> GetVariables(LocalDeclarationStatementSyntax localDeclarationStatement)
SignatureHelp\LightweightOverloadResolution.cs (1)
23SeparatedSyntaxList<ArgumentSyntax> arguments)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (2)
140var invokedTypeArguments = invokedExpression.GetRightmostName() is GenericNameSyntax genericName 287private static SeparatedSyntaxList<ParameterSyntax> GetParameters(AnonymousFunctionExpressionSyntax expression)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderDiagnosticAnalyzer.cs (1)
140var arguments = invocationExpression.ArgumentList.Arguments;
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
356SeparatedSyntaxList<ArgumentSyntax> arguments,
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (3)
914var arguments = invocationExpression.ArgumentList.Arguments; 1176public static SeparatedSyntaxList<ArgumentSyntax> GetArguments(ArgumentListSyntax argumentList, bool unwrapArgument) 1178var arguments = argumentList.Arguments;
src\Analyzers\CSharp\Analyzers\ValidateFormatString\CSharpValidateFormatStringDiagnosticAnalyzer.cs (1)
22SeparatedSyntaxList<SyntaxNode> arguments,
src\Analyzers\CSharp\CodeFixes\AddExplicitCast\ArgumentFixer.cs (1)
26protected override SeparatedSyntaxList<ArgumentSyntax> GetArgumentsOfArgumentList(ArgumentListSyntax argumentList)
src\Analyzers\CSharp\CodeFixes\AddExplicitCast\AttributeArgumentFixer.cs (1)
26protected override SeparatedSyntaxList<AttributeArgumentSyntax> GetArgumentsOfArgumentList(AttributeArgumentListSyntax argumentList)
src\Analyzers\CSharp\CodeFixes\AddParameter\CSharpAddParameterCodeFixProvider.cs (1)
69var arguments = constructorInitializer.ArgumentList.Arguments;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
281var typeList = baseList.Types;
src\Analyzers\CSharp\CodeFixes\GenerateConstructor\CSharpGenerateConstructorService.cs (2)
72private static ImmutableArray<Argument> GetArguments(SeparatedSyntaxList<ArgumentSyntax> arguments) 75private static ImmutableArray<Argument> GetArguments(SeparatedSyntaxList<AttributeArgumentSyntax> arguments)
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (2)
109var newArgumentsList = currentInvocation.ArgumentList.Arguments.AddRange(newArguments); 185var parameters = parameterList.Parameters;
src\Analyzers\CSharp\CodeFixes\Nullable\CSharpDeclareAsNullableCodeFixProvider.cs (1)
292var typeArguments = generic.TypeArgumentList.Arguments;
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (3)
327SeparatedSyntaxList<CollectionElementSyntax> FixLeadingAndTrailingWhitespace( 328SeparatedSyntaxList<CollectionElementSyntax> elements, 832var arguments = invocation.ArgumentList.Arguments;
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
56var arguments = GetArguments(invocationExpression.ArgumentList, unwrapArgument);
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (2)
105SeparatedSyntaxList<ArgumentSyntax> arguments, 141static async Task<SeparatedSyntaxList<ArgumentSyntax>> GetArgumentsAsync(
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
55var arguments = GetArguments(objectCreationExpression.ArgumentList!, unwrapArgument);
src\Analyzers\CSharp\CodeFixes\UseCollectionInitializer\CSharpUseCollectionInitializerCodeFixProvider_CollectionInitializer.cs (6)
29var expressions = CreateCollectionInitializerExpressions(); 30var withLineBreaks = AddLineBreaks(expressions); 35SeparatedSyntaxList<ExpressionSyntax> CreateCollectionInitializerExpressions() 72static SeparatedSyntaxList<TNode> AddLineBreaks<TNode>(SeparatedSyntaxList<TNode> nodes) 117var arguments = invocation.ArgumentList.Arguments;
src\Analyzers\CSharp\CodeFixes\UseIndexOrRangeOperator\CSharpUseRangeOperatorCodeFixProvider.cs (1)
89var arguments = SingletonSeparatedList(argument);
src\Analyzers\CSharp\CodeFixes\UseObjectInitializer\CSharpUseObjectInitializerCodeFixProvider.cs (1)
54private static SeparatedSyntaxList<ExpressionSyntax> CreateExpressions(
src\Analyzers\CSharp\CodeFixes\UseObjectInitializer\UseInitializerHelpers.cs (1)
18SeparatedSyntaxList<ExpressionSyntax> expressions)
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (1)
448SeparatedSyntaxList<ExpressionSyntax> incrementors = ((ForStatementSyntax)node.Parent).Incrementors;
UseNamedArguments\CSharpUseNamedArgumentsCodeRefactoringProvider.cs (2)
66protected override SeparatedSyntaxList<ArgumentSyntax> GetArguments(BaseArgumentListSyntax argumentList) 86protected override SeparatedSyntaxList<AttributeArgumentSyntax> GetArguments(AttributeArgumentListSyntax argumentList)
Wrapping\SeparatedSyntaxList\CSharpArgumentWrapper.cs (1)
44protected override SeparatedSyntaxList<ArgumentSyntax> GetListItems(BaseArgumentListSyntax listSyntax)
Wrapping\SeparatedSyntaxList\CSharpCollectionExpressionWrapper.cs (1)
42protected override SeparatedSyntaxList<CollectionElementSyntax> GetListItems(CollectionExpressionSyntax 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)
2666var parameters = lambda.ParameterList.Parameters;
Semantics\LocalFunctionTests.cs (3)
452var attrArgs = attributeSyntax.ArgumentList.Arguments; 5107var typeParameters = localDecl.TypeParameterList.Parameters; 5108var parameters = localDecl.ParameterList.Parameters;
Semantics\ObjectAndCollectionInitializerTests.cs (6)
3471var nodes = (from node in tree.GetRoot().DescendantNodes() 3519var nodes = (from node in tree.GetRoot().DescendantNodes() 3576var nodes = (from node in tree.GetRoot().DescendantNodes() 3612var nodes = (from node in tree.GetRoot().DescendantNodes() 3649var nodes = (from node in tree.GetRoot().DescendantNodes() 3935var 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 (28)
Syntax\SeparatedSyntaxListTests.cs (15)
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))); 66var argsWithComment = SyntaxFactory.ParseArgumentList(@"(a, // a is good 69var insertAfterComment = argsWithComment.Insert(1, SyntaxFactory.Argument(SyntaxFactory.ParseExpression("c"))); 75var argsWithEOL = SyntaxFactory.ParseArgumentList(@"(a, 77var insertAfterEOL = argsWithEOL.Insert(1, SyntaxFactory.Argument(SyntaxFactory.ParseExpression("c"))); 82var argsWithMultiLineComment = SyntaxFactory.ParseArgumentList("(a, /* b is best */ b)").Arguments; 83var insertBeforeMultiLineComment = argsWithMultiLineComment.Insert(1, SyntaxFactory.Argument(SyntaxFactory.ParseExpression("c"))); 237DoTestAddInsertRemoveOnEmptyList(default(SeparatedSyntaxList<SyntaxNode>)); 240private void DoTestAddInsertRemoveOnEmptyList(SeparatedSyntaxList<SyntaxNode> list) 247var newList = list.Add(nodeD); 281var list = SyntaxFactory.SeparatedList<SyntaxNode>(
Syntax\SyntaxFactoryTests.cs (8)
236var null1 = SyntaxFactory.SeparatedList((ParameterSyntax[])null); 242var null2 = SyntaxFactory.SeparatedList((System.Collections.Generic.IEnumerable<VariableDeclaratorSyntax>)null); 248var empty1 = SyntaxFactory.SeparatedList(new TypeArgumentListSyntax[] { }); 254var empty2 = SyntaxFactory.SeparatedList(System.Linq.Enumerable.Empty<TypeParameterSyntax>()); 260var singleton1 = SyntaxFactory.SeparatedList(new[] { SyntaxFactory.IdentifierName("a") }); 266var singleton2 = SyntaxFactory.SeparatedList((System.Collections.Generic.IEnumerable<ExpressionSyntax>)new[] { SyntaxFactory.IdentifierName("x") }); 272var list1 = SyntaxFactory.SeparatedList(new[] { SyntaxFactory.IdentifierName("a"), SyntaxFactory.IdentifierName("b"), SyntaxFactory.IdentifierName("c") }); 283var list2 = SyntaxFactory.SeparatedList<ArgumentSyntax>(builder);
Syntax\SyntaxNodeOrTokenListTests.cs (2)
24EqualityTesting.AssertEqual(default(SeparatedSyntaxList<CSharpSyntaxNode>), default(SeparatedSyntaxList<CSharpSyntaxNode>));
Syntax\SyntaxNodeTests.cs (3)
1918var sizes = spec.Sizes; 3295var list = (SeparatedSyntaxList<ParameterSyntax>)method.ParameterList.Parameters;
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
236static void verifyNestedFunctionPointerSyntaxSemanticInfo(SemanticModel model, IFunctionPointerTypeSymbol ptrType, SeparatedSyntaxList<FunctionPointerParameterSyntax> paramSyntaxes)
Microsoft.CodeAnalysis.CSharp.Workspaces (46)
CodeGeneration\CSharpSyntaxGenerator.cs (8)
51internal override SeparatedSyntaxList<TElement> SeparatedList<TElement>(SyntaxNodeOrTokenList list) 66internal override SeparatedSyntaxList<TElement> SeparatedList<TElement>(IEnumerable<TElement> nodes, IEnumerable<SyntaxToken> separators) 926private SeparatedSyntaxList<EnumMemberDeclarationSyntax> AsEnumMembers(IEnumerable<SyntaxNode>? members) 2249var parameters = list.Parameters; 3201private static SeparatedSyntaxList<ExpressionSyntax> AsExpressionList(IEnumerable<SyntaxNode> expressions) 3221internal override SyntaxNode ObjectCreationExpression(SyntaxNode type, SyntaxToken openParen, SeparatedSyntaxList<SyntaxNode> arguments, SyntaxToken closeParen) 3224SyntaxFactory.ArgumentList(openParen, (SeparatedSyntaxList<ArgumentSyntax>)arguments, closeParen), 3230private static SeparatedSyntaxList<ArgumentSyntax> CreateArguments(IEnumerable<SyntaxNode> arguments)
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (2)
550char openBrace, char closeBrace, SeparatedSyntaxList<ParameterSyntax> parameters) 562private static void AppendParameters(SeparatedSyntaxList<ParameterSyntax> parameters, StringBuilder builder)
Recommendations\CSharpRecommendationServiceRunner.cs (1)
61var parameters = parenthesizedLambdaSyntax.ParameterList.Parameters;
Simplification\CSharpSimplificationService.Expander.cs (2)
183var newParameters = parameterList.Parameters; 1119var arguments = originalNode.ArgumentList.Arguments.Insert(0, thisArgument);
Simplification\Reducers\CSharpExtensionMethodReducer.cs (1)
109var newArguments = SyntaxFactory.SeparatedList<ArgumentSyntax>(argumentList.Arguments.GetWithSeparators().AsEnumerable().Skip(2));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ILocalSymbolExtensions.cs (1)
32SeparatedSyntaxList<TypeParameterSyntax>? typeParameters;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaExtensions.cs (1)
201public static bool IsPragmaDirective(this SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (14)
558public SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(SyntaxNode? genericName) 1209public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfObjectCreationExpression(SyntaxNode objectCreationExpression) 1214public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfArgumentList(SyntaxNode argumentList) 1217public SeparatedSyntaxList<SyntaxNode> GetArgumentsOfAttributeArgumentList(SyntaxNode argumentList) 1229public bool IsPragmaDirective(SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes) 1368out SyntaxToken openParen, out SeparatedSyntaxList<TArgumentSyntax> arguments, out SyntaxToken closeParen) where TArgumentSyntax : SyntaxNode 1372arguments = (SeparatedSyntaxList<TArgumentSyntax>)(SeparatedSyntaxList<SyntaxNode>)tupleExpression.Arguments; 1389public SeparatedSyntaxList<SyntaxNode> GetVariablesOfLocalDeclarationStatement(SyntaxNode node) 1588public void GetPartsOfArgumentList(SyntaxNode node, out SyntaxToken openParenToken, out SeparatedSyntaxList<SyntaxNode> arguments, out SyntaxToken closeParenToken) 1649public void GetPartsOfGenericName(SyntaxNode node, out SyntaxToken identifier, out SeparatedSyntaxList<SyntaxNode> typeArguments) 1750public SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node) 1762public SeparatedSyntaxList<SyntaxNode> GetInitializersOfObjectMemberInitializer(SyntaxNode node) 1765public SeparatedSyntaxList<SyntaxNode> GetExpressionsOfObjectCollectionInitializer(SyntaxNode node)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpInferredMemberNameSimplifier.cs (2)
62private static bool RemovalCausesAmbiguity(SeparatedSyntaxList<ArgumentSyntax> arguments, ArgumentSyntax toRemove) 84private static bool RemovalCausesAmbiguity(SeparatedSyntaxList<AnonymousObjectMemberDeclaratorSyntax> initializers, AnonymousObjectMemberDeclaratorSyntax toRemove)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
204var originalParams = originalParenthesizedLambda.ParameterList.Parameters; 211var replacedParams = replacedParenthesizedLambda.ParameterList.Parameters;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (2)
447var attributes = attributeList.Attributes; 462var newAttributes = SeparatedList(attributes.Where(a => a != attributeToRemove));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeRefactorings\CSharpRefactoringHelpersService.cs (1)
100var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
252var list = new SeparatedSyntaxList<TupleElementSyntax>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SeparatedSyntaxListExtensions.cs (5)
11public static SeparatedSyntaxList<T> AddRangeWithTrailingSeparator<T>( 12this SeparatedSyntaxList<T> separatedList, IEnumerable<T> nodes, SyntaxKind separator = SyntaxKind.CommaToken) 18public static SeparatedSyntaxList<T> InsertRangeWithTrailingSeparator<T>( 19this SeparatedSyntaxList<T> separatedList, int index, IEnumerable<T> nodes, SyntaxKind separator = SyntaxKind.CommaToken) 22var newList = separatedList.InsertRange(index, nodes);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
335Indenter indenter, SeparatedSyntaxList<T> list, SyntaxToken token) where T : SyntaxNode
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
130private SeparatedSyntaxList<VariableDeclaratorSyntax> _currentNonDiscardVariables = [];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
2277SeparatedSyntaxList<ArgumentSyntax> arguments,
Microsoft.CodeAnalysis.Features (60)
ChangeSignature\AbstractChangeSignatureService.cs (6)
70protected abstract TArgumentSyntax CreateExplicitParamsArrayFromIndividualArguments<TArgumentSyntax>(SeparatedSyntaxList<TArgumentSyntax> newArguments, int startingIndex, IParameterSymbol parameterSymbol) 647protected static int GetParameterIndex<TNode>(SeparatedSyntaxList<TNode> parameters, int position) 679SeparatedSyntaxList<T> list, 744protected ImmutableArray<SyntaxToken> GetSeparators<T>(SeparatedSyntaxList<T> arguments, int numSeparatorsToSkip) where T : SyntaxNode 762protected virtual async Task<SeparatedSyntaxList<TArgumentSyntax>> AddNewArgumentsToListAsync<TArgumentSyntax>( 764SeparatedSyntaxList<TArgumentSyntax> newArguments,
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (4)
152var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfInvocationExpression(invocation); 234var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfInvocationExpression(invocation);
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (3)
709currentTupleExpr, out var openParen, out var arguments, out var closeParen); 717private SeparatedSyntaxList<TArgumentSyntax> ConvertArguments(SyntaxGenerator generator, NamingRule parameterNamingRule, bool isRecord, SeparatedSyntaxList<TArgumentSyntax> arguments)
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
45protected abstract SyntaxNode UpdateArgumentListSyntax(SyntaxNode argumentList, SeparatedSyntaxList<TArgumentSyntax> arguments);
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (13)
309var invocationArguments = _syntaxFacts.GetArgumentsOfArgumentList(argumentListSyntax); 312var currentInvocationArguments = (SeparatedSyntaxList<TArgumentSyntax>)_syntaxFacts.GetArgumentsOfArgumentList(currentArgumentListSyntax); 327SeparatedSyntaxList<TArgumentSyntax> allArguments; 501var invocationArguments = _syntaxFacts.GetArgumentsOfArgumentList(argumentListSyntax); 513var updatedInvocationArguments = (SeparatedSyntaxList<TArgumentSyntax>)_syntaxFacts.GetArgumentsOfArgumentList(currentArgumentListSyntax); 516var allArguments = AddArgumentToArgumentList(updatedInvocationArguments, 544SeparatedSyntaxList<SyntaxNode> updatedInvocationArguments) 571private SeparatedSyntaxList<TArgumentSyntax> AddArgumentToArgumentList( 572SeparatedSyntaxList<TArgumentSyntax> invocationArguments, SyntaxNode newArgumentExpression, 582SeparatedSyntaxList<SyntaxNode> invocationArguments, int methodInsertionIndex, 608Dictionary<IParameterSymbol, int> mapping, SeparatedSyntaxList<SyntaxNode> arguments,
RemoveUnusedVariable\AbstractRemoveUnusedVariableCodeFixProvider.cs (1)
35protected abstract SeparatedSyntaxList<SyntaxNode> GetVariables(TLocalDeclarationStatement localDeclarationStatement);
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForIfNullCheckDiagnosticAnalyzer.cs (1)
144var declarators = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement);
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerAnalyzer.cs (2)
99var initializerExpressions = this.SyntaxFacts.GetExpressionsOfObjectCollectionInitializer(initializer); 225var elementAccessArguments = this.SyntaxFacts.GetArgumentsOfArgumentList(argumentList);
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (3)
187out var arguments)) 221out var arguments)) 275out SeparatedSyntaxList<SyntaxNode> arguments)
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (5)
64protected abstract SyntaxNode? TryGetMatchingNamedArgument(SeparatedSyntaxList<SyntaxNode> arguments, string searchArgumentName); 182SeparatedSyntaxList<SyntaxNode> arguments, 192SeparatedSyntaxList<SyntaxNode> arguments, 209SeparatedSyntaxList<SyntaxNode> arguments, 258SeparatedSyntaxList<SyntaxNode> arguments,
src\Analyzers\Core\CodeFixes\AddExplicitCast\Fixer.cs (2)
26protected abstract SeparatedSyntaxList<TArgumentSyntax> GetArgumentsOfArgumentList(TArgumentListSyntax argumentList); 127var arguments = GetArgumentsOfArgumentList(argumentList);
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (9)
125var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfInvocationExpression(invocationExpression); 174var arguments = (SeparatedSyntaxList<TArgumentSyntax>)syntaxFacts.GetArgumentsOfObjectCreationExpression(objectCreation); 187SeparatedSyntaxList<TArgumentSyntax> arguments, 231SeparatedSyntaxList<TArgumentSyntax> arguments, 322SeparatedSyntaxList<TArgumentSyntax> arguments, 370SeparatedSyntaxList<TArgumentSyntax> argumentList, 435SeparatedSyntaxList<TArgumentSyntax> arguments)
src\Analyzers\Core\CodeFixes\AddParameter\RegisterFixData.cs (1)
9internal sealed class RegisterFixData<TArgumentSyntax>(SeparatedSyntaxList<TArgumentSyntax> arguments, ImmutableArray<IMethodSymbol> methodCandidates, bool isConstructorInitializer)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (2)
616if (ShouldRemoveStatement(localDeclarationStatement, out var variables)) 726bool ShouldRemoveStatement(TLocalDeclarationStatementSyntax localDeclarationStatement, out SeparatedSyntaxList<SyntaxNode> variables)
UseNamedArguments\AbstractUseNamedArgumentsCodeRefactoringProvider.cs (3)
75var arguments = GetArguments(argumentList); 154var arguments = GetArguments(argumentList); 181protected 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)
26private readonly SeparatedSyntaxList<TListItemSyntax> _listItems; 80SeparatedSyntaxList<TListItemSyntax> listItems)
Microsoft.CodeAnalysis.VisualBasic (278)
Binding\Binder_Attributes.vb (1)
391Dim arguments As SeparatedSyntaxList(Of ArgumentSyntax) = argumentListOpt.Arguments
Binding\Binder_Expressions.vb (3)
331Dim arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax) = node.Arguments 408Private Shared Function ExtractTupleElementNames(arguments As SeparatedSyntaxList(Of SimpleArgumentSyntax), diagnostics As BindingDiagnosticBag) _ 4344Dim arguments As SeparatedSyntaxList(Of ArgumentSyntax) = arrayBoundsOpt.Arguments
Binding\Binder_ObjectInitializer.vb (1)
963Dim 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)
1025declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax), 2201Dim midArguments As SeparatedSyntaxList(Of ArgumentSyntax) = midExpression.ArgumentList.Arguments 3055Dim 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)
61Dim 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)
59Public Overrides Function GetAttributesOfAttributeList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode)
Symbols\ConstraintsHelper.vb (1)
498typeArgumentsSyntax As SeparatedSyntaxList(Of TypeSyntax),
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1335Dim types As SeparatedSyntaxList(Of TypeSyntax) =
Syntax\LambdaUtilities.vb (2)
466Private Shared Iterator Function EnumerateExpressions(variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As IEnumerable(Of SyntaxNode) 585Private 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 (24)
src\Analyzers\VisualBasic\Analyzers\ValidateFormatString\VisualBasicValidateFormatStringDiagnosticAnalyzer.vb (1)
22arguments As SeparatedSyntaxList(Of SyntaxNode),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\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
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\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
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (15)
536Public Function GetTypeArgumentsOfGenericName(genericName As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetTypeArgumentsOfGenericName 896Private Shared Function GetSeparatedSyntaxListSpan(Of T As SyntaxNode)(list As SeparatedSyntaxList(Of T)) As TextSpan 1260Public Function GetArgumentsOfObjectCreationExpression(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfObjectCreationExpression 1265Public Function GetArgumentsOfArgumentList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfArgumentList 1269Public Function GetArgumentsOfAttributeArgumentList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfAttributeArgumentList 1468Public 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 1471arguments = CType(CType(tupleExpr.Arguments, SeparatedSyntaxList(Of SyntaxNode)), SeparatedSyntaxList(Of TArgumentSyntax)) 1491Public Function IsPragmaDirective(trivia As SyntaxTrivia, ByRef isDisable As Boolean, ByRef isActive As Boolean, ByRef errorCodes As SeparatedSyntaxList(Of SyntaxNode)) As Boolean Implements ISyntaxFacts.IsPragmaDirective 1511Public Function GetVariablesOfLocalDeclarationStatement(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetVariablesOfLocalDeclarationStatement 1825Public Sub GetPartsOfArgumentList(node As SyntaxNode, ByRef openParenToken As SyntaxToken, ByRef arguments As SeparatedSyntaxList(Of SyntaxNode), ByRef closeParenToken As SyntaxToken) Implements ISyntaxFacts.GetPartsOfArgumentList 1889Public Sub GetPartsOfGenericName(node As SyntaxNode, ByRef identifier As SyntaxToken, ByRef typeArguments As SeparatedSyntaxList(Of SyntaxNode)) Implements ISyntaxFacts.GetPartsOfGenericName 1961Public Function GetAttributesOfAttributeList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetAttributesOfAttributeList 1977Public Function GetInitializersOfObjectMemberInitializer(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetInitializersOfObjectMemberInitializer 1986Public Function GetExpressionsOfObjectCollectionInitializer(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetExpressionsOfObjectCollectionInitializer
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Simplification\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
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\ImportsOrganizer.vb (2)
137Public Shared Function Organize(clauses As SeparatedSyntaxList(Of ImportsClauseSyntax)) As SeparatedSyntaxList(Of ImportsClauseSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (2)
251Dim originalParams As SeparatedSyntaxList(Of ParameterSyntax), replacedParams As SeparatedSyntaxList(Of ParameterSyntax)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (7)
src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\ArgumentFixer.vb (1)
32Protected Overrides Function GetArgumentsOfArgumentList(argumentList As ArgumentListSyntax) As SeparatedSyntaxList(Of ArgumentSyntax)
src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\VisualBasicAddExplicitCastCodeFixProvider.vb (1)
112arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As ArgumentSyntax
src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\VisualBasicGenerateConstructorService.vb (1)
161Private Shared Function GetArguments(arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As ImmutableArray(Of Argument)
src\Analyzers\VisualBasic\CodeFixes\UseObjectInitializer\VisualBasicUseObjectInitializerCodeFixProvider.vb (1)
71matches As ImmutableArray(Of Match(Of ExpressionSyntax, StatementSyntax, MemberAccessExpressionSyntax, AssignmentStatementSyntax))) As SeparatedSyntaxList(Of FieldInitializerSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\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
Microsoft.CodeAnalysis.VisualBasic.Features (36)
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) 760Protected Overrides Function CreateExplicitParamsArrayFromIndividualArguments(Of TArgumentSyntax As SyntaxNode)(newArguments As SeparatedSyntaxList(Of TArgumentSyntax), indexInExistingList As Integer, parameterSymbol As IParameterSymbol) As TArgumentSyntax
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)
1347Friend Overloads Shared Function ComputeDistance(Of TSyntaxNode As SyntaxNode)(oldList As SeparatedSyntaxList(Of TSyntaxNode), newList As SeparatedSyntaxList(Of TSyntaxNode)) As Double 1365Private Shared Iterator Function GetDescendantTokensIgnoringSeparators(Of TSyntaxNode As SyntaxNode)(list As SeparatedSyntaxList(Of TSyntaxNode)) As IEnumerable(Of SyntaxToken)
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)
124Private Function CreateMethodCallTypeVariables() As SeparatedSyntaxList(Of TypeSyntax)
IntroduceParameter\VisualBasicIntroduceParameterCodeRefactoringProvider.vb (1)
30Protected Overrides Function UpdateArgumentListSyntax(node As SyntaxNode, arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As SyntaxNode
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (1)
168declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax),
RemoveUnusedVariable\VisualBasicRemoveUnusedVariableCodeFixProvider.vb (1)
45Protected Overrides Function GetVariables(localDeclarationStatement As LocalDeclarationStatementSyntax) As SeparatedSyntaxList(Of SyntaxNode)
src\Analyzers\VisualBasic\Analyzers\ValidateFormatString\VisualBasicValidateFormatStringDiagnosticAnalyzer.vb (1)
22arguments As SeparatedSyntaxList(Of SyntaxNode),
src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\ArgumentFixer.vb (1)
32Protected Overrides Function GetArgumentsOfArgumentList(argumentList As ArgumentListSyntax) As SeparatedSyntaxList(Of ArgumentSyntax)
src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\VisualBasicAddExplicitCastCodeFixProvider.vb (1)
112arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As ArgumentSyntax
src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\VisualBasicGenerateConstructorService.vb (1)
161Private Shared Function GetArguments(arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As ImmutableArray(Of Argument)
src\Analyzers\VisualBasic\CodeFixes\UseObjectInitializer\VisualBasicUseObjectInitializerCodeFixProvider.vb (1)
71matches As ImmutableArray(Of Match(Of ExpressionSyntax, StatementSyntax, MemberAccessExpressionSyntax, AssignmentStatementSyntax))) As SeparatedSyntaxList(Of FieldInitializerSyntax)
src\Compilers\VisualBasic\Portable\Syntax\LambdaUtilities.vb (2)
466Private Shared Iterator Function EnumerateExpressions(variables As SeparatedSyntaxList(Of ExpressionRangeVariableSyntax)) As IEnumerable(Of SyntaxNode) 585Private Shared Function GetCollectionRangeVariables(clause As SyntaxNode) As SeparatedSyntaxList(Of CollectionRangeVariableSyntax)
UseNamedArguments\VisualBasicUseNamedArgumentsCodeRefactoringProvider.vb (1)
25Protected Overrides Function GetArguments(argumentList As ArgumentListSyntax) As SeparatedSyntaxList(Of ArgumentSyntax)
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 (40)
CodeGeneration\VisualBasicSyntaxGenerator.vb (8)
36Friend Overrides Function SeparatedList(Of TElement As SyntaxNode)(list As SyntaxNodeOrTokenList) As SeparatedSyntaxList(Of TElement) 48Friend Overrides Function SeparatedList(Of TElement As SyntaxNode)(nodes As IEnumerable(Of TElement), separators As IEnumerable(Of SyntaxToken)) As SeparatedSyntaxList(Of TElement) 293SyntaxFactory.ArgumentList(CType(SyntaxFactory.SeparatedList(arguments), SeparatedSyntaxList(Of ArgumentSyntax)))) 318Private Shared Function AsExpressionList(expressions As IEnumerable(Of SyntaxNode)) As SeparatedSyntaxList(Of ExpressionSyntax) 342Friend Overrides Function ObjectCreationExpression(typeName As SyntaxNode, openParen As SyntaxToken, arguments As SeparatedSyntaxList(Of SyntaxNode), closeParen As SyntaxToken) As SyntaxNode 346SyntaxFactory.ArgumentList(openParen, CType(arguments, SeparatedSyntaxList(Of ArgumentSyntax)), closeParen), 465Private Function CreateArguments(arguments As IEnumerable(Of SyntaxNode)) As SeparatedSyntaxList(Of ArgumentSyntax) 507Private 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)
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
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\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
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\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
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (15)
536Public Function GetTypeArgumentsOfGenericName(genericName As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetTypeArgumentsOfGenericName 896Private Shared Function GetSeparatedSyntaxListSpan(Of T As SyntaxNode)(list As SeparatedSyntaxList(Of T)) As TextSpan 1260Public Function GetArgumentsOfObjectCreationExpression(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfObjectCreationExpression 1265Public Function GetArgumentsOfArgumentList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfArgumentList 1269Public Function GetArgumentsOfAttributeArgumentList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetArgumentsOfAttributeArgumentList 1468Public 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 1471arguments = CType(CType(tupleExpr.Arguments, SeparatedSyntaxList(Of SyntaxNode)), SeparatedSyntaxList(Of TArgumentSyntax)) 1491Public Function IsPragmaDirective(trivia As SyntaxTrivia, ByRef isDisable As Boolean, ByRef isActive As Boolean, ByRef errorCodes As SeparatedSyntaxList(Of SyntaxNode)) As Boolean Implements ISyntaxFacts.IsPragmaDirective 1511Public Function GetVariablesOfLocalDeclarationStatement(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetVariablesOfLocalDeclarationStatement 1825Public Sub GetPartsOfArgumentList(node As SyntaxNode, ByRef openParenToken As SyntaxToken, ByRef arguments As SeparatedSyntaxList(Of SyntaxNode), ByRef closeParenToken As SyntaxToken) Implements ISyntaxFacts.GetPartsOfArgumentList 1889Public Sub GetPartsOfGenericName(node As SyntaxNode, ByRef identifier As SyntaxToken, ByRef typeArguments As SeparatedSyntaxList(Of SyntaxNode)) Implements ISyntaxFacts.GetPartsOfGenericName 1961Public Function GetAttributesOfAttributeList(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetAttributesOfAttributeList 1977Public Function GetInitializersOfObjectMemberInitializer(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetInitializersOfObjectMemberInitializer 1986Public Function GetExpressionsOfObjectCollectionInitializer(node As SyntaxNode) As SeparatedSyntaxList(Of SyntaxNode) Implements ISyntaxFacts.GetExpressionsOfObjectCollectionInitializer
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Simplification\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
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\ImportsOrganizer.vb (2)
137Public Shared Function Organize(clauses As SeparatedSyntaxList(Of ImportsClauseSyntax)) As SeparatedSyntaxList(Of ImportsClauseSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (2)
251Dim originalParams As SeparatedSyntaxList(Of ParameterSyntax), replacedParams As SeparatedSyntaxList(Of ParameterSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\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
Microsoft.CodeAnalysis.Workspaces (24)
Editing\SyntaxGenerator.cs (5)
1436internal abstract SeparatedSyntaxList<TElement> SeparatedList<TElement>(SyntaxNodeOrTokenList list) where TElement : SyntaxNode; 1438internal abstract SeparatedSyntaxList<TElement> SeparatedList<TElement>(IEnumerable<TElement> nodes, IEnumerable<SyntaxToken> separators) where TElement : SyntaxNode; 1539protected static SeparatedSyntaxList<TNode> RemoveRange<TNode>(SeparatedSyntaxList<TNode> list, int offset, int count) 2199SyntaxNode namedType, SyntaxToken openParen, SeparatedSyntaxList<SyntaxNode> arguments, SyntaxToken closeParen);
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (1)
264var arguments = syntaxFacts.GetArgumentsOfAttributeArgumentList(argumentList);
Recommendations\AbstractRecommendationServiceRunner.cs (1)
91var arguments = syntaxFactsService.GetArgumentsOfInvocationExpression(invocationExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFacts.cs (12)
178bool IsPragmaDirective(SyntaxTrivia trivia, out bool isDisable, out bool isActive, out SeparatedSyntaxList<SyntaxNode> errorCodes); 200out SyntaxToken openParen, out SeparatedSyntaxList<TArgumentSyntax> arguments, out SyntaxToken closeParen) where TArgumentSyntax : SyntaxNode; 312SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(SyntaxNode? genericName); 316SeparatedSyntaxList<SyntaxNode> GetArgumentsOfObjectCreationExpression(SyntaxNode node); 317SeparatedSyntaxList<SyntaxNode> GetArgumentsOfArgumentList(SyntaxNode node); 318SeparatedSyntaxList<SyntaxNode> GetArgumentsOfAttributeArgumentList(SyntaxNode node); 324SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node); 355SeparatedSyntaxList<SyntaxNode> GetVariablesOfLocalDeclarationStatement(SyntaxNode node); 512void GetPartsOfArgumentList(SyntaxNode node, out SyntaxToken openParenToken, out SeparatedSyntaxList<SyntaxNode> arguments, out SyntaxToken closeParenToken); 521void GetPartsOfGenericName(SyntaxNode node, out SyntaxToken identifier, out SeparatedSyntaxList<SyntaxNode> typeArguments); 555SeparatedSyntaxList<SyntaxNode> GetInitializersOfObjectMemberInitializer(SyntaxNode node); 556SeparatedSyntaxList<SyntaxNode> GetExpressionsOfObjectCollectionInitializer(SyntaxNode node);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (3)
495public static SeparatedSyntaxList<SyntaxNode> GetArgumentsOfInvocationExpression(this ISyntaxFacts syntaxFacts, SyntaxNode node) 594public static SeparatedSyntaxList<SyntaxNode> GetTypeArgumentsOfGenericName(this ISyntaxFacts syntaxFacts, SyntaxNode node) 596syntaxFacts.GetPartsOfGenericName(node, out _, out var typeArguments);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
418var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(localDeclarationStatement);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (1)
64var variables = syntaxFacts.GetVariablesOfLocalDeclarationStatement(DeclarationStatement);
Microsoft.ML.InternalCodeAnalyzer (3)
ContractsCheckAnalyzer.cs (2)
108var syntaxArgs = invocation.ArgumentList.Arguments; 168var enclosingParams = ((node as MethodDeclarationSyntax)?.ParameterList
SingleVariableDeclarationAnalyzer.cs (1)
43var vars = node.Variables;
Microsoft.VisualStudio.LanguageServices.CSharp (15)
CodeModel\CSharpCodeModelService.CodeModelEventCollector.cs (4)
106var oldArguments = oldAttributeArguments.Arguments; 107var newArguments = newAttributeArguments.Arguments; 687var oldTypes = oldType.BaseList.Types; 688var newTypes = newType.BaseList.Types;
CodeModel\CSharpCodeModelService.cs (10)
2771var members = enumDeclaration.Members; 2772var newMembers = members.Remove(node); 3243var newMembers = enumDeclaration.Members.Insert(index, (EnumMemberDeclarationSyntax)member); 3251var newMembers = enumDeclaration.Members.Insert(index, (EnumMemberDeclarationSyntax)member); 3333var newArguments = argumentList.Arguments.Insert(index, (AttributeArgumentSyntax)attributeArgument); 3474var parameterList = method.ParameterList.Parameters.Insert(index, (ParameterSyntax)parameter); 3479var parameterList = indexer.ParameterList.Parameters.Insert(index, (ParameterSyntax)parameter); 3484var parameterList = delegateDeclaration.ParameterList.Parameters.Insert(index, (ParameterSyntax)parameter); 3794var newTypes = typeDeclaration.BaseList.Types.Remove(baseType); 3880var newTypes = typeDeclaration.BaseList.Types.Remove(baseType);
CodeModel\SyntaxListExtensions.cs (1)
20public 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)
System.Text.Json.SourceGeneration (3)
src\libraries\Common\src\Roslyn\CSharpSyntaxHelper.cs (1)
61public override SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node)
src\libraries\Common\src\Roslyn\ISyntaxHelper.cs (2)
22SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node); 56public abstract SeparatedSyntaxList<SyntaxNode> GetAttributesOfAttributeList(SyntaxNode node);
System.Windows.Forms.PrivateSourceGenerators (1)
System\Windows\Forms\SourceGenerators\EnumValidationGenerator.cs (1)
70var arguments = invocationExpression.ArgumentList.Arguments;