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