12 references to ExactMatchDist
Microsoft.CodeAnalysis.CSharp.Features (6)
EditAndContinue\SyntaxComparer.cs (6)
1503
return
ExactMatchDist
;
1508
if (weightedDistance ==
ExactMatchDist
&& !SyntaxFactory.AreEquivalent(oldNode, newNode))
1523
return
ExactMatchDist
;
1530
return (distance ==
ExactMatchDist
) ? EpsilonDist : distance;
1544
Debug.Assert(!SyntaxFactory.AreEquivalent(leftToken, rightToken) || distance ==
ExactMatchDist
);
1552
Debug.Assert(!SyntaxFactory.AreEquivalent(leftNode, rightNode) || distance ==
ExactMatchDist
);
Microsoft.CodeAnalysis.VisualBasic.Features (6)
EditAndContinue\SyntaxComparer.vb (6)
1296
Return
ExactMatchDist
1301
If weightedDistance =
ExactMatchDist
AndAlso Not SyntaxFactory.AreEquivalent(oldNode, newNode) Then
1313
Return
ExactMatchDist
1317
Return If(distance =
ExactMatchDist
, EpsilonDist, distance)
1329
Debug.Assert(Not SyntaxFactory.AreEquivalent(leftToken, rightToken) OrElse distance =
ExactMatchDist
)
1335
Debug.Assert(Not SyntaxFactory.AreEquivalent(leftNode, rightNode) OrElse distance =
ExactMatchDist
)