12 references to ComputeMatch
Microsoft.CodeAnalysis.CSharp.Features (6)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (4)
398=> SyntaxComparer.TopLevel.ComputeMatch(oldCompilationUnit, newCompilationUnit); 402BidirectionalMap<SyntaxNode>.FromMatch(SyntaxComparer.TopLevel.ComputeMatch(oldParameterList, newParameterList)) : null; 451return comparer.ComputeMatch(oldRoot, newRoot, knownMatches); 454return SyntaxComparer.Statement.ComputeMatch(oldBody, newBody, knownMatches);
EditAndContinue\DeclarationBody\InstanceConstructorDeclarationBody.cs (1)
104? SyntaxComparer.Statement.ComputeMatch(oldRoot, newRoot, knownMatches)
EditAndContinue\DeclarationBody\PropertyOrIndexerAccessorDeclarationBody.cs (1)
152? SyntaxComparer.Statement.ComputeMatch(oldRoot, newRoot, knownMatches)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
EditAndContinue\Helpers\EditingTestBase.cs (1)
157var match = SyntaxComparer.TopLevel.ComputeMatch(tree1.GetRoot(), tree2.GetRoot());
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
Differencing\MatchTests.cs (5)
24var m = TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, 29Assert.Throws<ArgumentException>(() => TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, [KeyValuePair.Create(x1, x1)])); 31Assert.Throws<ArgumentException>(() => TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, [KeyValuePair.Create(x1, x2), KeyValuePair.Create(x1, new TestNode(0, 0))])); 47var m = TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, 73var m = TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot,