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)
867Assert.True(tree.GetCompilationUnitRoot().IsIncrementallyIdenticalTo(tree.GetCompilationUnitRoot())); 901Assert.False(tree1.GetCompilationUnitRoot().IsIncrementallyIdenticalTo(tree2.GetCompilationUnitRoot())); 911tree1.GetCompilationUnitRoot().DescendantNodes().OfType<MethodDeclarationSyntax>().Single().IsIncrementallyIdenticalTo( 922tree1.GetCompilationUnitRoot().DescendantNodes().OfType<MethodDeclarationSyntax>().Single().IsIncrementallyIdenticalTo(
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
Workspaces\LspWorkspaceManagerTests.cs (5)
679Assert.True(oldClassDeclarations[0].IsIncrementallyIdenticalTo(newClassDeclarations[0])); 680Assert.False(oldClassDeclarations[2].IsIncrementallyIdenticalTo(newClassDeclarations[2])); 689Assert.True(oldMethodDeclarations[0].IsIncrementallyIdenticalTo(newMethodDeclarations[0])); 690Assert.True(oldMethodDeclarations[1].IsIncrementallyIdenticalTo(newMethodDeclarations[1])); 691Assert.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)
447Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 470Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 491Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 535Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 558Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 579Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 614Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 641Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 665Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 700Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 724Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 745Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 777Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 800Assert.False(root1.IsIncrementallyIdenticalTo(root2)); 821Assert.True(root1.IsIncrementallyIdenticalTo(root2)); 1799Assert.False(oldTree.GetRoot().IsIncrementallyIdenticalTo(newTree.GetRoot())); 1846Assert.Equal(expectReuse, oldRoot.IsIncrementallyIdenticalTo(newTree.GetRoot())); 1869Assert.False(oldTree.GetRoot().IsIncrementallyIdenticalTo(newTree.GetRoot())); 1888Assert.False(oldTree.GetRoot().IsIncrementallyIdenticalTo(newTree.GetRoot())); 1907Assert.True(oldTree.GetRoot().IsIncrementallyIdenticalTo(newTree.GetRoot()));