4 references to Replace
Microsoft.CodeAnalysis (2)
Syntax\SeparatedSyntaxList.cs (2)
523
return new SeparatedSyntaxList<TNode>(this.GetWithSeparators().
Replace
(nodeInList, newNode));
584
return new SeparatedSyntaxList<TNode>(nodesWithSeps.
Replace
(separatorToken, newSeparator));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (1)
334
elementsWithSeparators = elementsWithSeparators.
Replace
(first, first.WithLeadingTrivia(endOfLine, Whitespace(preferredItemIndentation)));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (1)
334
elementsWithSeparators = elementsWithSeparators.
Replace
(first, first.WithLeadingTrivia(endOfLine, Whitespace(preferredItemIndentation)));