1 write to Match
Microsoft.CodeAnalysis.Workspaces (1)
Differencing\EditScript.cs (1)
20Match = match;
29 references to Match
Microsoft.CodeAnalysis.Features (19)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (19)
669AnalyzeUnchangedActiveMemberBodies(diagnostics, syntacticEdits.Match, newText, oldActiveStatements, newActiveStatementSpans, newActiveStatements, newExceptionRegions, oldActiveMembers, log, cancellationToken); 796ReportTopLevelSyntacticRudeEdits(diagnostics, syntacticEdits.Match, edit, editMap); 823if ((IsCompilationUnitWithGlobalStatements(editScript.Match.OldRoot) || IsCompilationUnitWithGlobalStatements(editScript.Match.NewRoot)) && 826map.Add(editScript.Match.OldRoot, EditKind.Update); 827map.Add(editScript.Match.NewRoot, EditKind.Update); 2735var oldTree = editScript.Match.OldRoot.SyntaxTree; 2736var newTree = editScript.Match.NewRoot.SyntaxTree; 2746: GetSymbolEdits(edit.Kind, edit.OldNode, edit.NewNode, oldModel, newModel, editScript.Match, editMap, symbolCache, cancellationToken); 2782CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, edit.NewNode, newModel, editScript.Match). 2802var diagnosticContext = CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, edit.NewNode, newModel, editScript.Match); 2944var diagnosticSpan = GetDeletedNodeDiagnosticSpan(editScript.Match.Matches, oldDeclaration); 3333newActiveStatementSpan ??= GetDeletedDeclarationActiveSpan(editScript.Match.Matches, oldDeclaration); 3401editScript.Match, 3506var triviaSymbolEdits = GetSymbolEdits(EditKind.Update, oldEditNode, newEditNode, oldModel, newModel, editScript.Match, editMap, symbolCache, cancellationToken); 3543var diagnosticContext = CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, newDeclaration, newModel, editScript.Match, diagnosticSpan); 3613editScript.Match, 3626editScript.Match, 4199CreateDiagnosticContext(diagnostics, oldOutermostReloadableType, newOutermostReloadableType, newDeclaration, newModel, editScript.Match).
Microsoft.CodeAnalysis.Workspaces (10)
Differencing\EditScript.cs (10)
33private TreeComparer<TNode> Comparer => Match.Comparer; 35private TNode Root1 => Match.OldRoot; 37private TNode Root2 => Match.NewRoot; 86var hasPartner = Match.TryGetPartnerInTree1(x, out var w); 120if (!Match.Contains(v, y)) 154if (!Match.HasPartnerInTree2(w)) 183if (Match.TryGetPartnerInTree2(e, out var pw) && Comparer.GetParent(pw).Equals(x)) 194if (Match.TryGetPartnerInTree1(e, out var px) && Comparer.GetParent(px).Equals(w)) 210var lcs = new Match<TNode>.LongestCommonSubsequence(Match); 229if (Match.TryGetPartnerInTree2(a, out var b) &&