10 references to DeleteBetween
Microsoft.CodeAnalysis.Features (10)
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (1)
194
result.Add(Edit.
DeleteBetween
(chunk[i - 1], chunk[i]));
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (9)
101
: Edit.
DeleteBetween
(_listSyntax.GetFirstToken(), _listItems[0]));
208
result.Add(Edit.
DeleteBetween
(_listSyntax.GetFirstToken().GetPreviousToken(), _listSyntax.GetFirstToken()));
215
result.Add(Edit.
DeleteBetween
(comma.GetPreviousToken(), comma));
216
result.Add(Edit.
DeleteBetween
(comma, comma.GetNextToken()));
221
result.Add(Edit.
DeleteBetween
(last, _listSyntax.GetLastToken()));
341
result.Add(Edit.
DeleteBetween
(item, comma));
355
result.Add(Edit.
DeleteBetween
(itemsAndSeparators.Last(), _listSyntax.GetLastToken()));
446
result.Add(Edit.
DeleteBetween
(item, comma));
466
result.Add(Edit.
DeleteBetween
(itemsAndSeparators.Last(), _listSyntax.GetLastToken()));