4 references to ReplaceRange
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTokenList.cs (1)
420
return
ReplaceRange
(tokenInList, new[] { newToken });
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxReplacer.cs (1)
476
return list.
ReplaceRange
(_originalToken, _newTokens);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxTokenListTests.cs (1)
234
Assert.Throws<ArgumentOutOfRangeException>(() => list.
ReplaceRange
(tokenD, new[] { tokenE }));
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\SyntaxReplacer.vb (1)
365
Return list.
ReplaceRange
(Me._originalToken, Me._newTokens)