14 references to SyntaxComparer
Microsoft.CodeAnalysis.CSharp.Features (14)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (10)
227
if (isBody ||
SyntaxComparer
.Statement.HasLabel(node))
414
=>
SyntaxComparer
.TopLevel.ComputeMatch(oldCompilationUnit, newCompilationUnit);
418
BidirectionalMap<SyntaxNode>.FromMatch(
SyntaxComparer
.TopLevel.ComputeMatch(oldParameterList, newParameterList)) : null;
465
var
comparer = new SyntaxComparer(oldRoot, newRoot, GetChildNodes(oldRoot, oldBody), GetChildNodes(newRoot, newBody), compareStatementSyntax: true);
470
return
SyntaxComparer
.Statement.ComputeMatch(oldBody, newBody, knownMatches);
580
=>
SyntaxComparer
.GetSequenceEdits(oldNodes, newNodes);
590
=>
SyntaxComparer
.Statement.GetLabel(node1) ==
SyntaxComparer
.Statement.GetLabel(node2);
909
SyntaxComparer
.GetLocalNames(oldNode, ref oldTokens);
910
SyntaxComparer
.GetLocalNames(newNode, ref newTokens);
EditAndContinue\DeclarationBody\InstanceConstructorDeclarationBody.cs (1)
104
?
SyntaxComparer
.Statement.ComputeMatch(oldRoot, newRoot, knownMatches)
EditAndContinue\DeclarationBody\PropertyOrIndexerAccessorDeclarationBody.cs (1)
151
?
SyntaxComparer
.Statement.ComputeMatch(oldRoot, newRoot, knownMatches)
EditAndContinue\SyntaxComparer.cs (2)
33
internal static readonly
SyntaxComparer
TopLevel = new(null, null, null, null, compareStatementSyntax: false);
34
internal static readonly
SyntaxComparer
Statement = new(null, null, null, null, compareStatementSyntax: true);