1 write to Match
Microsoft.CodeAnalysis.Workspaces (1)
Differencing\EditScript.cs (1)
20
Match
= match;
30 references to Match
Microsoft.CodeAnalysis.Features (20)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (20)
662
AnalyzeUnchangedActiveMemberBodies(diagnostics, syntacticEdits.
Match
, newText, oldActiveStatements, newActiveStatementSpans, newActiveStatements, newExceptionRegions, log, cancellationToken);
732
ReportTopLevelSyntacticRudeEdits(diagnostics, syntacticEdits.
Match
, edit, editMap);
759
if ((IsCompilationUnitWithGlobalStatements(editScript.
Match
.OldRoot) || IsCompilationUnitWithGlobalStatements(editScript.
Match
.NewRoot)) &&
762
map.Add(editScript.
Match
.OldRoot, EditKind.Update);
763
map.Add(editScript.
Match
.NewRoot, EditKind.Update);
2529
var oldTree = editScript.
Match
.OldRoot.SyntaxTree;
2530
var newTree = editScript.
Match
.NewRoot.SyntaxTree;
2542
: GetSymbolEdits(edit.Kind, edit.OldNode, edit.NewNode, oldModel, newModel, editScript.
Match
, editMap, symbolCache, cancellationToken);
2578
CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, edit.NewNode, newModel, editScript.
Match
).
2598
var diagnosticContext = CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, edit.NewNode, newModel, editScript.
Match
);
2641
CreateDiagnosticContext(diagnostics, oldContainingType, newContainingType, newDeclaration, newModel, editScript.
Match
).
2730
var diagnosticSpan = GetDeletedNodeDiagnosticSpan(editScript.
Match
.Matches, oldDeclaration);
3099
newActiveStatementSpan ??= GetDeletedDeclarationActiveSpan(editScript.
Match
.Matches, oldDeclaration);
3161
editScript.
Match
,
3268
var triviaSymbolEdits = GetSymbolEdits(EditKind.Update, oldEditNode, newEditNode, oldModel, newModel, editScript.
Match
, editMap, symbolCache, cancellationToken);
3300
CreateDiagnosticContext(diagnostics, oldContainingType, newContainingType, newDeclaration, newModel, editScript.
Match
)
3308
var diagnosticContext = CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, newDeclaration, newModel, editScript.
Match
, diagnosticSpan);
3378
editScript.
Match
,
3392
editScript.
Match
,
Microsoft.CodeAnalysis.Workspaces (10)
Differencing\EditScript.cs (10)
33
private TreeComparer<TNode> Comparer =>
Match
.Comparer;
35
private TNode Root1 =>
Match
.OldRoot;
37
private TNode Root2 =>
Match
.NewRoot;
86
var hasPartner =
Match
.TryGetPartnerInTree1(x, out var w);
120
if (!
Match
.Contains(v, y))
154
if (!
Match
.HasPartnerInTree2(w))
183
if (
Match
.TryGetPartnerInTree2(e, out var pw) && Comparer.GetParent(pw).Equals(x))
194
if (
Match
.TryGetPartnerInTree1(e, out var px) && Comparer.GetParent(px).Equals(w))
210
var lcs = new Match<TNode>.LongestCommonSubsequence(
Match
);
229
if (
Match
.TryGetPartnerInTree2(a, out var b) &&