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)
662AnalyzeUnchangedActiveMemberBodies(diagnostics, syntacticEdits.Match, newText, oldActiveStatements, newActiveStatementSpans, newActiveStatements, newExceptionRegions, log, cancellationToken); 732ReportTopLevelSyntacticRudeEdits(diagnostics, syntacticEdits.Match, edit, editMap); 759if ((IsCompilationUnitWithGlobalStatements(editScript.Match.OldRoot) || IsCompilationUnitWithGlobalStatements(editScript.Match.NewRoot)) && 762map.Add(editScript.Match.OldRoot, EditKind.Update); 763map.Add(editScript.Match.NewRoot, EditKind.Update); 2529var oldTree = editScript.Match.OldRoot.SyntaxTree; 2530var newTree = editScript.Match.NewRoot.SyntaxTree; 2542: GetSymbolEdits(edit.Kind, edit.OldNode, edit.NewNode, oldModel, newModel, editScript.Match, editMap, symbolCache, cancellationToken); 2578CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, edit.NewNode, newModel, editScript.Match). 2598var diagnosticContext = CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, edit.NewNode, newModel, editScript.Match); 2641CreateDiagnosticContext(diagnostics, oldContainingType, newContainingType, newDeclaration, newModel, editScript.Match). 2730var diagnosticSpan = GetDeletedNodeDiagnosticSpan(editScript.Match.Matches, oldDeclaration); 3099newActiveStatementSpan ??= GetDeletedDeclarationActiveSpan(editScript.Match.Matches, oldDeclaration); 3161editScript.Match, 3268var triviaSymbolEdits = GetSymbolEdits(EditKind.Update, oldEditNode, newEditNode, oldModel, newModel, editScript.Match, editMap, symbolCache, cancellationToken); 3300CreateDiagnosticContext(diagnostics, oldContainingType, newContainingType, newDeclaration, newModel, editScript.Match) 3308var diagnosticContext = CreateDiagnosticContext(diagnostics, oldSymbol, newSymbol, newDeclaration, newModel, editScript.Match, diagnosticSpan); 3378editScript.Match, 3392editScript.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) &&