28 references to IsIncrementallyIdenticalTo
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNodeOrToken.cs (1)
762
/// See <see cref="SyntaxNode.
IsIncrementallyIdenticalTo
"/> and <see cref="SyntaxToken.IsIncrementallyIdenticalTo"/>.
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxNodeTests.cs (4)
941
Assert.True(tree.GetCompilationUnitRoot().
IsIncrementallyIdenticalTo
(tree.GetCompilationUnitRoot()));
975
Assert.False(tree1.GetCompilationUnitRoot().
IsIncrementallyIdenticalTo
(tree2.GetCompilationUnitRoot()));
985
tree1.GetCompilationUnitRoot().DescendantNodes().OfType<MethodDeclarationSyntax>().Single().
IsIncrementallyIdenticalTo
(
996
tree1.GetCompilationUnitRoot().DescendantNodes().OfType<MethodDeclarationSyntax>().Single().
IsIncrementallyIdenticalTo
(
Microsoft.CodeAnalysis.Workspaces (3)
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (3)
18
/// cref="SyntaxNode.
IsIncrementallyIdenticalTo
"/>). This algorithm is intended to be <em>fast</em>. It is
119
if (oldRoot.
IsIncrementallyIdenticalTo
(newRoot))
178
Contract.ThrowIfTrue(oldRoot.
IsIncrementallyIdenticalTo
(newRoot));
Microsoft.CodeAnalysis.Workspaces.UnitTests (20)
SolutionTests\SolutionTests.cs (20)
461
Assert.True(root1.
IsIncrementallyIdenticalTo
(root2));
484
Assert.False(root1.
IsIncrementallyIdenticalTo
(root2));
505
Assert.True(root1.
IsIncrementallyIdenticalTo
(root2));
549
Assert.True(root1.
IsIncrementallyIdenticalTo
(root2));
572
Assert.False(root1.
IsIncrementallyIdenticalTo
(root2));
593
Assert.True(root1.
IsIncrementallyIdenticalTo
(root2));
628
Assert.False(root1.
IsIncrementallyIdenticalTo
(root2));
655
Assert.False(root1.
IsIncrementallyIdenticalTo
(root2));
679
Assert.True(root1.
IsIncrementallyIdenticalTo
(root2));
714
Assert.False(root1.
IsIncrementallyIdenticalTo
(root2));
738
Assert.False(root1.
IsIncrementallyIdenticalTo
(root2));
759
Assert.False(root1.
IsIncrementallyIdenticalTo
(root2));
791
Assert.True(root1.
IsIncrementallyIdenticalTo
(root2));
814
Assert.False(root1.
IsIncrementallyIdenticalTo
(root2));
835
Assert.True(root1.
IsIncrementallyIdenticalTo
(root2));
1860
Assert.False(oldTree.GetRoot().
IsIncrementallyIdenticalTo
(newTree.GetRoot()));
1907
Assert.Equal(expectReuse, oldRoot.
IsIncrementallyIdenticalTo
(newTree.GetRoot()));
1930
Assert.False(oldTree.GetRoot().
IsIncrementallyIdenticalTo
(newTree.GetRoot()));
1949
Assert.False(oldTree.GetRoot().
IsIncrementallyIdenticalTo
(newTree.GetRoot()));
1968
Assert.True(oldTree.GetRoot().
IsIncrementallyIdenticalTo
(newTree.GetRoot()));