6 references to WithReplace
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
IncrementalParsing\GrammarAmbiguities.cs (1)
93
var incrementalTree = originalTree.
WithReplace
(start, length, replacement);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (5)
SyntaxTreeExtensions.cs (5)
29
return
WithReplace
(syntaxTree, offset, length, newText);
37
return
WithReplace
(syntaxTree, offset, length, newText);
42
return
WithReplace
(syntaxTree, offset, 0, newText);
49
return
WithReplace
(syntaxTree, offset, 0, newText);
54
return
WithReplace
(syntaxTree, offset, length, string.Empty);