2 overrides of GetChanges
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
613
public override IList<TextChange>
GetChanges
(SyntaxTree oldTree)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
535
Public Overrides Function
GetChanges
(oldTree As SyntaxTree) As IList(Of TextChange)
33 references to GetChanges
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
84
return SyntaxTree.
GetChanges
(oldDocument.SyntaxTree);
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
84
return SyntaxTree.
GetChanges
(oldDocument.SyntaxTree);
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
84
return SyntaxTree.
GetChanges
(oldDocument.SyntaxTree);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
84
return SyntaxTree.
GetChanges
(oldDocument.SyntaxTree);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (20)
Syntax\SyntaxDiffingTests.cs (15)
30
var changes = newTree.
GetChanges
(oldTree);
50
var changes = newTree.
GetChanges
(oldTree);
72
var changes = newTree.
GetChanges
(oldTree);
92
var changes = newTree.
GetChanges
(oldTree);
110
var changes = newTree.
GetChanges
(oldTree);
129
var changes = newTree.
GetChanges
(oldTree);
149
var changes = newTree.
GetChanges
(oldTree);
167
var changes = newTree.
GetChanges
(oldTree);
185
var changes = newTree.
GetChanges
(oldTree);
202
var changes = newTree.
GetChanges
(oldTree);
219
var changes = newTree.
GetChanges
(oldTree);
236
var changes = newTree.
GetChanges
(oldTree);
254
var changes = newTree.
GetChanges
(oldTree);
322
var changes = newTree.
GetChanges
(oldTree);
384
var changes = newTree.
GetChanges
(oldTree);
Syntax\SyntaxNodeTests.cs (5)
3656
var ChangesForDifferentTrees = FirstUsingClause.SyntaxTree.
GetChanges
(SecondUsingClause.SyntaxTree);
3667
var ChangesFromTransform = ThirdUsingClause.SyntaxTree.
GetChanges
(newUsingClause.SyntaxTree);
3674
var changes2UsingCommonSyntax = x.
GetChanges
(y);
3706
var ChangesForDifferentTrees = FirstUsingClause.SyntaxTree.
GetChanges
(SecondUsingClause.SyntaxTree);
3711
Assert.Throws<ArgumentNullException>(() => FirstUsingClause.SyntaxTree.
GetChanges
(BlankTree));
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
84
return SyntaxTree.
GetChanges
(oldDocument.SyntaxTree);
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
TestSyntaxNodes.vb (4)
2875
Dim ChangesForDifferentTrees = FirstImportsClause.SyntaxTree.
GetChanges
(SecondImportsClause.SyntaxTree)
2886
Dim ChangesFromTransform = ThirdImportsClause.SyntaxTree.
GetChanges
(newImportsClause.SyntaxTree)
2893
Dim changes2UsingCommonSyntax = x.
GetChanges
(y)
2919
Assert.Throws(Of ArgumentNullException)(Sub() FirstImportsClause.SyntaxTree.
GetChanges
(BlankTree))
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
84
return SyntaxTree.
GetChanges
(oldDocument.SyntaxTree);
Workspace\Solution\Document.cs (1)
501
return [.. tree.
GetChanges
(oldTree)];
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
84
return SyntaxTree.
GetChanges
(oldDocument.SyntaxTree);
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
84
return SyntaxTree.
GetChanges
(oldDocument.SyntaxTree);