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)
670
AnalyzeUnchangedActiveMemberBodies(diagnostics, syntacticEdits.
Match
, newText, oldActiveStatements, newActiveStatementSpans, newActiveStatements, newExceptionRegions, cancellationToken);
740
ReportTopLevelSyntacticRudeEdits(diagnostics, syntacticEdits.
Match
, edit, editMap);
767
if ((IsCompilationUnitWithGlobalStatements(editScript.
Match
.OldRoot) || IsCompilationUnitWithGlobalStatements(editScript.
Match
.NewRoot)) &&
770
map.Add(editScript.
Match
.OldRoot, EditKind.Update);
771
map.Add(editScript.
Match
.NewRoot, EditKind.Update);
2536
var oldTree = editScript.
Match
.OldRoot.SyntaxTree;
2537
var newTree = editScript.
Match
.NewRoot.SyntaxTree;
2549
: GetSymbolEdits(edit.Kind, edit.OldNode, edit.NewNode, oldModel, newModel, editScript.
Match
, editMap, symbolCache, cancellationToken);
2585
CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, edit.NewNode, newModel, editScript.
Match
).
2605
var diagnosticContext = CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, edit.NewNode, newModel, editScript.
Match
);
2648
CreateDiagnosticContext(diagnostics, oldContainingType, newContainingType, newDeclaration, newModel, editScript.
Match
).
2737
var diagnosticSpan = GetDeletedNodeDiagnosticSpan(editScript.
Match
.Matches, oldDeclaration);
3106
newActiveStatementSpan ??= GetDeletedDeclarationActiveSpan(editScript.
Match
.Matches, oldDeclaration);
3168
editScript.
Match
,
3275
var triviaSymbolEdits = GetSymbolEdits(EditKind.Update, oldEditNode, newEditNode, oldModel, newModel, editScript.
Match
, editMap, symbolCache, cancellationToken);
3307
CreateDiagnosticContext(diagnostics, oldContainingType, newContainingType, newDeclaration, newModel, editScript.
Match
)
3315
var diagnosticContext = CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, newDeclaration, newModel, editScript.
Match
, diagnosticSpan);
3385
editScript.
Match
,
3399
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) &&