33 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)
941Assert.True(tree.GetCompilationUnitRoot().IsIncrementallyIdenticalTo(tree.GetCompilationUnitRoot())); 975Assert.False(tree1.GetCompilationUnitRoot().IsIncrementallyIdenticalTo(tree2.GetCompilationUnitRoot())); 985tree1.GetCompilationUnitRoot().DescendantNodes().OfType<MethodDeclarationSyntax>().Single().IsIncrementallyIdenticalTo( 996tree1.GetCompilationUnitRoot().DescendantNodes().OfType<MethodDeclarationSyntax>().Single().IsIncrementallyIdenticalTo(
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
Workspaces\LspWorkspaceManagerTests.cs (5)
634Assert.True(oldClassDeclarations[0].IsIncrementallyIdenticalTo(newClassDeclarations[0])); 635Assert.False(oldClassDeclarations[2].IsIncrementallyIdenticalTo(newClassDeclarations[2])); 644Assert.True(oldMethodDeclarations[0].IsIncrementallyIdenticalTo(newMethodDeclarations[0])); 645Assert.True(oldMethodDeclarations[1].IsIncrementallyIdenticalTo(newMethodDeclarations[1])); 646Assert.True(oldMethodDeclarations[2].IsIncrementallyIdenticalTo(newMethodDeclarations[2]));
Microsoft.CodeAnalysis.Workspaces (3)
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (3)
18/// cref="SyntaxNode.IsIncrementallyIdenticalTo"/>). This algorithm is intended to be <em>fast</em>. It is 119if (oldRoot.IsIncrementallyIdenticalTo(newRoot)) 178Contract.ThrowIfTrue(oldRoot.IsIncrementallyIdenticalTo(newRoot));
Microsoft.CodeAnalysis.Workspaces.UnitTests (20)
SolutionTests\SolutionTests.cs (20)
461Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 484Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 505Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 549Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 572Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 593Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 628Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 655Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 679Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 714Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 738Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 759Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 791Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 814Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 835Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 1860Assert.False(oldTree.GetRoot().IsIncrementallyIdenticalTo(newTree.GetRoot())); 1907Assert.Equal(expectReuse, oldRoot.IsIncrementallyIdenticalTo(newTree.GetRoot())); 1930Assert.False(oldTree.GetRoot().IsIncrementallyIdenticalTo(newTree.GetRoot())); 1949Assert.False(oldTree.GetRoot().IsIncrementallyIdenticalTo(newTree.GetRoot())); 1968Assert.True(oldTree.GetRoot().IsIncrementallyIdenticalTo(newTree.GetRoot()));