10 references to _changes
Microsoft.CodeAnalysis.Workspaces (10)
Editing\SyntaxEditor.cs (10)
107var nodes = Enumerable.Distinct(_changes.Where(c => OriginalRoot.Contains(c.OriginalNode))
111foreach (var change in _changes)
123_changes.Add(new NoChange(node));
141_changes.Add(new RemoveChange(node, options));
156_changes.Add(new ReplaceChange(node, computeReplacement));
165_changes.Add(new ReplaceWithCollectionChange(node, computeReplacement));
174_changes.Add(new ReplaceChange<TArgument>(node, computeReplacement, argument));
188_changes.Add(new ReplaceChange(node, (n, g) => newNode));
202_changes.Add(new InsertChange(node, newNodes, isBefore: true));
224_changes.Add(new InsertChange(node, newNodes, isBefore: false));