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