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