2 overrides of GetChangedSpans
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
597
public override IList<TextSpan>
GetChangedSpans
(SyntaxTree oldTree)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
519
Public Overrides Function
GetChangedSpans
(oldTree As SyntaxTree) As IList(Of TextSpan)
16 references to GetChangedSpans
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (15)
Syntax\SyntaxDiffingTests.cs (13)
25
var spans = newTree.
GetChangedSpans
(oldTree);
44
var spans = newTree.
GetChangedSpans
(oldTree);
64
var spans = newTree.
GetChangedSpans
(oldTree);
87
var spans = newTree.
GetChangedSpans
(oldTree);
105
var spans = newTree.
GetChangedSpans
(oldTree);
124
var spans = newTree.
GetChangedSpans
(oldTree);
144
var spans = newTree.
GetChangedSpans
(oldTree);
162
var spans = newTree.
GetChangedSpans
(oldTree);
180
var spans = newTree.
GetChangedSpans
(oldTree);
198
var spans = newTree.
GetChangedSpans
(oldTree);
215
var spans = newTree.
GetChangedSpans
(oldTree);
232
var spans = newTree.
GetChangedSpans
(oldTree);
249
var spans = newTree.
GetChangedSpans
(oldTree);
Syntax\SyntaxNodeTests.cs (2)
3678
var ChangesForDifferentTrees = FirstUsingClause.SyntaxTree.
GetChangedSpans
(SecondUsingClause.SyntaxTree);
3683
Assert.Throws<ArgumentNullException>(() => FirstUsingClause.SyntaxTree.
GetChangedSpans
(BlankTree));
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
TestSyntaxNodes.vb (1)
2903
Dim span2 = CType(newTree, SyntaxTree).
GetChangedSpans
(CType(oldTree, SyntaxTree))