2 overrides of GetChanges
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
612public override IList<TextChange> GetChanges(SyntaxTree oldTree)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
532Public Overrides Function GetChanges(oldTree As SyntaxTree) As IList(Of TextChange)
27 references to GetChanges
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
88return SyntaxTree.GetChanges(oldDocument.SyntaxTree);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (20)
Syntax\SyntaxDiffingTests.cs (15)
30var changes = newTree.GetChanges(oldTree); 50var changes = newTree.GetChanges(oldTree); 72var changes = newTree.GetChanges(oldTree); 92var changes = newTree.GetChanges(oldTree); 110var changes = newTree.GetChanges(oldTree); 129var changes = newTree.GetChanges(oldTree); 149var changes = newTree.GetChanges(oldTree); 167var changes = newTree.GetChanges(oldTree); 185var changes = newTree.GetChanges(oldTree); 202var changes = newTree.GetChanges(oldTree); 219var changes = newTree.GetChanges(oldTree); 236var changes = newTree.GetChanges(oldTree); 254var changes = newTree.GetChanges(oldTree); 322var changes = newTree.GetChanges(oldTree); 384var changes = newTree.GetChanges(oldTree);
Syntax\SyntaxNodeTests.cs (5)
3618var ChangesForDifferentTrees = FirstUsingClause.SyntaxTree.GetChanges(SecondUsingClause.SyntaxTree); 3629var ChangesFromTransform = ThirdUsingClause.SyntaxTree.GetChanges(newUsingClause.SyntaxTree); 3636var changes2UsingCommonSyntax = x.GetChanges(y); 3668var ChangesForDifferentTrees = FirstUsingClause.SyntaxTree.GetChanges(SecondUsingClause.SyntaxTree); 3673Assert.Throws<ArgumentNullException>(() => FirstUsingClause.SyntaxTree.GetChanges(BlankTree));
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
TestSyntaxNodes.vb (4)
2846Dim ChangesForDifferentTrees = FirstImportsClause.SyntaxTree.GetChanges(SecondImportsClause.SyntaxTree) 2857Dim ChangesFromTransform = ThirdImportsClause.SyntaxTree.GetChanges(newImportsClause.SyntaxTree) 2864Dim changes2UsingCommonSyntax = x.GetChanges(y) 2890Assert.Throws(Of ArgumentNullException)(Sub() FirstImportsClause.SyntaxTree.GetChanges(BlankTree))
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
88return SyntaxTree.GetChanges(oldDocument.SyntaxTree);
Workspace\Solution\Document.cs (1)
463return tree.GetChanges(oldTree);