23 references to ComputeMatch
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Features (5)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (5)
565=> SyntaxComparer.TopLevel.ComputeMatch(oldCompilationUnit, newCompilationUnit);
572return comparer.ComputeMatch(oldDeclaration.Parent, newDeclaration.Parent);
609return new SyntaxComparer(oldRoot, newRoot, GetChildNodes(oldRoot, oldBody), GetChildNodes(newRoot, newBody), compareStatementSyntax: true).ComputeMatch(oldRoot, newRoot, knownMatches);
621return SyntaxComparer.Statement.ComputeMatch(oldBody.Parent, newBody.Parent, knownMatches);
624return SyntaxComparer.Statement.ComputeMatch(oldBody, newBody, knownMatches);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic.Features (5)
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
Differencing\MatchTests.cs (5)
26var m = TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot,
31Assert.Throws<ArgumentException>(() => TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, new[] { KeyValuePairUtil.Create(x1, x1) }));
33Assert.Throws<ArgumentException>(() => TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, new[] { KeyValuePairUtil.Create(x1, x2), KeyValuePairUtil.Create(x1, new TestNode(0, 0)) }));
49var m = TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, new[]
75var m = TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, new[]