28 references to GetSeparator
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxRewriter.cs (1)
184var separator = list.GetSeparator(i);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CompleteStatement\CompleteStatementCommandHandler.cs (1)
443var separator = forStatementSyntax.Initializers.GetSeparator(separatorIndex);
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\BreakpointSpans.cs (2)
239var separator = parameters.GetSeparator(i); 905if (position > list.GetSeparator(i).SpanStart)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Syntax\SyntaxNodeTests.cs (9)
1929Assert.NotEqual(sizes.GetSeparator(0), sizes.GetSeparator(1)); 1930Assert.NotEqual(sizes.GetSeparator(0), sizes.GetSeparator(2)); 1931Assert.NotEqual(sizes.GetSeparator(1), sizes.GetSeparator(2)); 3297Assert.Equal(SyntaxKind.CommaToken, ((SyntaxToken)list.GetSeparator(0)).Kind()); 3298Assert.Equal(SyntaxKind.CommaToken, ((SyntaxToken)list.GetSeparator(1)).Kind()); 3305var unused = list.GetSeparator(2);
Microsoft.CodeAnalysis.Features (4)
ChangeSignature\AbstractChangeSignatureService.cs (4)
669if (position <= parameters.GetSeparator(i).Span.Start) 755? arguments.GetSeparator(i) 877separators.Add(newArguments.GetSeparator(indexInListOfPreexistingArguments)); 901separators.Add(newArguments.GetSeparator(indexInListOfPreexistingArguments));
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Query.vb (3)
836operatorNameLocation = variables.GetSeparator(i - 1).Span 1152operatorNameLocation = variables.GetSeparator(i - 1).Span 2602operatorNameLocation = orderByOrderings.GetSeparator(i - 1).Span
Syntax\VisualBasicSyntaxRewriter.vb (1)
141Dim separator As SyntaxToken = list.GetSeparator(i)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
EditAndContinue\BreakpointSpans.vb (1)
326If position > list.GetSeparator(i).SpanStart Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
TestSyntaxNodes.vb (3)
1178bldr.AddSeparator(params.GetSeparator(0)) 1180bldr.AddSeparator(params.GetSeparator(1)) 1185bldr.AddSeparator(params.GetSeparator(i))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
3246var separator = enumDeclaration.Members.GetSeparator(index - 1);
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
CodeModel\VisualBasicCodeModelService.vb (2)
4133text = text.Replace(TextSpan.FromBounds(clauseItemToRemove.SpanStart, methodStatement.HandlesClause.Events.GetSeparator(0).Span.End), String.Empty) 4135text = text.Replace(TextSpan.FromBounds(methodStatement.HandlesClause.Events.GetSeparator(index - 1).SpanStart, clauseItemToRemove.Span.End), String.Empty)