19 references to GetSeparators
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
306var separators = orderByClauseSyntax.Orderings.GetSeparators().ToImmutableList();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\UseCollectionInitializer\CSharpUseCollectionInitializerCodeFixProvider_CollectionInitializer.cs (1)
139arguments.GetSeparators()),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1308? initializerExpression.Expressions.GetSeparators().ToList().IndexOf(previousToken.Value) + 1 1435? initializerExpression.Expressions.GetSeparators().ToList().IndexOf(previousToken.Value) + 1
Microsoft.CodeAnalysis.CSharp.Features (5)
ChangeSignature\CSharpChangeSignatureService.cs (2)
711newArgumentList.GetSeparators()); 907var listOfArguments = SeparatedList(newArguments.Skip(indexInExistingList).Select(a => ((ArgumentSyntax)(SyntaxNode)a).Expression), newArguments.GetSeparators().Skip(indexInExistingList));
ConvertAnonymousType\CSharpConvertAnonymousTypeToTupleCodeRefactoringProvider.cs (1)
42var originalSeparators = declarators.GetSeparators().ToImmutableArray();
ConvertLinq\ConvertForEachToLinqQuery\CSharpConvertForEachToLinqQueryProvider.cs (1)
189var separators = localDeclarationStatement.Declaration.Variables.GetSeparators().ToArray();
src\Analyzers\CSharp\CodeFixes\UseCollectionInitializer\CSharpUseCollectionInitializerCodeFixProvider_CollectionInitializer.cs (1)
139arguments.GetSeparators()),
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
306var separators = orderByClauseSyntax.Orderings.GetSeparators().ToImmutableList();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1308? initializerExpression.Expressions.GetSeparators().ToList().IndexOf(previousToken.Value) + 1 1435? initializerExpression.Expressions.GetSeparators().ToList().IndexOf(previousToken.Value) + 1
Microsoft.CodeAnalysis.Features (2)
UseNamedArguments\AbstractUseNamedArgumentsCodeRefactoringProvider.cs (1)
160return WithArguments(argumentList, namedArguments, arguments.GetSeparators());
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (1)
213foreach (var comma in _listItems.GetSeparators())
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\ImportsOrganizer.vb (1)
142Return SyntaxFactory.SeparatedList(result, clauses.GetSeparators())
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Analyzers\VisualBasic\CodeFixes\UseCollectionInitializer\VisualBasicUseCollectionInitializerCodeFixProvider.vb (1)
102arguments.GetSeparators()))
Microsoft.CodeAnalysis.VisualBasic.Features (2)
ConvertAnonymousType\VisualBasicConvertAnonymousTypeToTupleCodeRefactoringProvider.vb (1)
35Return SyntaxFactory.SeparatedList(initializers.Select(AddressOf ConvertInitializer), initializers.GetSeparators())
src\Analyzers\VisualBasic\CodeFixes\UseCollectionInitializer\VisualBasicUseCollectionInitializerCodeFixProvider.vb (1)
102arguments.GetSeparators()))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\ImportsOrganizer.vb (1)
142Return SyntaxFactory.SeparatedList(result, clauses.GetSeparators())