15 references to SeparatedList
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
252
SeparatedList
(
CSharpUseCollectionInitializerCodeFixProvider.cs (1)
134
SyntaxFactory.
SeparatedList
(
UseExplicitTypeCodeFixProvider.cs (1)
205
SyntaxFactory.
SeparatedList
(builder.ToImmutable(), separatorBuilder.ToImmutableAndFree()),
Microsoft.CodeAnalysis.CSharp.Features (11)
ChangeSignature\CSharpChangeSignatureService.cs (5)
661
return
SeparatedList
(parameters, separators);
698
return
SeparatedList
(
716
return
SeparatedList
(newArgumentsWithTrivia, GetSeparators(arguments, numSeparatorsToSkip));
736
return
SeparatedList
(newArgumentsWithTrivia, GetSeparators(arguments, numSeparatorsToSkip));
897
var listOfArguments =
SeparatedList
(newArguments.Skip(indexInExistingList).Select(a => ((ArgumentSyntax)a).Expression), newArguments.GetSeparators().Skip(indexInExistingList));
ConvertAnonymousType\CSharpConvertAnonymousTypeToTupleCodeRefactoringProvider.cs (1)
39
=> SyntaxFactory.
SeparatedList
(initializers.Select(ConvertInitializer), initializers.GetSeparators());
ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
252
SeparatedList
(
CSharpUseCollectionInitializerCodeFixProvider.cs (1)
134
SyntaxFactory.
SeparatedList
(
UseExplicitTypeCodeFixProvider.cs (1)
205
SyntaxFactory.
SeparatedList
(builder.ToImmutable(), separatorBuilder.ToImmutableAndFree()),
UseNamedArguments\CSharpUseNamedArgumentsCodeRefactoringProvider.cs (2)
69
=> argumentList.WithArguments(SyntaxFactory.
SeparatedList
(namedArguments, separators));
89
=> argumentList.WithArguments(SyntaxFactory.
SeparatedList
(namedArguments, separators));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
71
=> SyntaxFactory.
SeparatedList
(nodes, separators);