2 instantiations of Match
Microsoft.CodeAnalysis.Workspaces (2)
Differencing\TreeComparer.cs (2)
32=> new Match<TNode>(oldRoot, newRoot, this, knownMatches: null).GetTreeEdits(); 38=> new(oldRoot, newRoot, this, knownMatches);
35 references to Match
Microsoft.CodeAnalysis.CSharp.Features (12)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (6)
397protected override Match<SyntaxNode> ComputeTopLevelMatch(SyntaxNode oldCompilationUnit, SyntaxNode newCompilationUnit) 413internal static Match<SyntaxNode> ComputeBodyMatch(SyntaxNode oldBody, SyntaxNode newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches) 1074Match<SyntaxNode> topMatch, 2288private readonly Match<SyntaxNode>? _match; 2300Match<SyntaxNode>? match = null, 2487Match<SyntaxNode> match,
EditAndContinue\DeclarationBody\CSharpLambdaBody.cs (1)
39public override Match<SyntaxNode>? ComputeSingleRootMatch(DeclarationBody newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches)
EditAndContinue\DeclarationBody\FieldWithInitializerDeclarationBody.cs (1)
65public override Match<SyntaxNode>? ComputeSingleRootMatch(DeclarationBody newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches)
EditAndContinue\DeclarationBody\InstanceConstructorDeclarationBody.cs (1)
102public sealed override Match<SyntaxNode>? ComputeSingleRootMatch(DeclarationBody newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches)
EditAndContinue\DeclarationBody\PropertyOrIndexerAccessorDeclarationBody.cs (1)
150public sealed override Match<SyntaxNode>? ComputeSingleRootMatch(DeclarationBody newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches)
EditAndContinue\DeclarationBody\SimpleMemberBody.cs (1)
30public override Match<SyntaxNode>? ComputeSingleRootMatch(DeclarationBody newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches)
EditAndContinue\DeclarationBody\TopLevelCodeDeclarationBody.cs (1)
55public override Match<SyntaxNode>? ComputeSingleRootMatch(DeclarationBody newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches)
Microsoft.CodeAnalysis.Features (17)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (12)
123protected abstract Match<SyntaxNode> ComputeTopLevelMatch(SyntaxNode oldCompilationUnit, SyntaxNode newCompilationUnit); 198Match<SyntaxNode> topMatch, 220Match<SyntaxNode> topMatch, 402internal abstract void ReportTopLevelSyntacticRudeEdits(RudeEditDiagnosticsBuilder diagnostics, Match<SyntaxNode> match, Edit<SyntaxNode> edit, Dictionary<SyntaxNode, EditKind> editMap); 616var topMatch = ComputeTopLevelMatch(oldRoot, newRoot); 950Match<SyntaxNode> topMatch, 1115Match<SyntaxNode> topMatch, 2221Match<SyntaxNode> topMatch, 4787/// and therefore not produced by <see cref="GetSymbolEdits(EditKind, SyntaxNode?, SyntaxNode?, DocumentSemanticModel, DocumentSemanticModel, Match{SyntaxNode}, IReadOnlyDictionary{SyntaxNode, EditKind}, SymbolInfoCache, CancellationToken)"/> 5162Match<SyntaxNode>? topMatch, 5369Match<SyntaxNode>? topMatch, 5568Match<SyntaxNode> topMatch,
EditAndContinue\DeclarationBody.cs (2)
71var primaryMatch = ComputeSingleRootMatch(newBody, knownMatches); 79public abstract Match<SyntaxNode>? ComputeSingleRootMatch(DeclarationBody newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches);
EditAndContinue\DeclarationBodyMap.cs (1)
36public static DeclarationBodyMap FromMatch(Match<SyntaxNode> match)
EditAndContinue\Utilities\BidirectionalMap.cs (2)
68public BidirectionalMap<T> WithMatch(Match<T> match) 71public static BidirectionalMap<T> FromMatch(Match<T> match)
Microsoft.CodeAnalysis.Workspaces (6)
Differencing\EditScript.cs (3)
18internal EditScript(Match<TNode> match) 31public Match<TNode> Match { get; } 210var lcs = new Match<TNode>.LongestCommonSubsequence(Match);
Differencing\Match.LongestCommonSubsequence.cs (2)
16private readonly Match<TNode> _match; 18internal LongestCommonSubsequence(Match<TNode> match)
Differencing\TreeComparer.cs (1)
37public Match<TNode> ComputeMatch(TNode oldRoot, TNode newRoot, IEnumerable<KeyValuePair<TNode, TNode>>? knownMatches = null)