4 instantiations of SyntaxMaps
Microsoft.CodeAnalysis.Features (4)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (4)
1315syntaxMaps = new SyntaxMaps(newModel.SyntaxTree, matchingNodes, runtimeRudeEdits); 1485syntaxMaps = new SyntaxMaps(newModel.SyntaxTree); 3578? new SyntaxMaps(newTree, CreateSyntaxMapForEquivalentNodes(oldBody, newBody), runtimeRudeEdits: null) 5503return new(
17 references to SyntaxMaps
Microsoft.CodeAnalysis.Features (17)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (10)
1123out SyntaxMaps syntaxMaps, 2682public readonly Dictionary<SyntaxNode, SyntaxMaps> ChangedDeclarations = []; 3351SyntaxMaps syntaxMaps = default; 3577var syntaxMaps = isActiveMember || isConstructorWithMemberInitializers || isDeclarationWithInitializer 3664SyntaxMaps syntaxMaps, 5498private SyntaxMaps CreateAggregateSyntaxMaps( 5501IReadOnlyDictionary<SyntaxNode, SyntaxMaps> changedDeclarations) 5516if (changedDeclarations.TryGetValue(newDeclaration, out var nodeMaps)) 5554if (changedDeclarations.TryGetValue(newDeclaration, out var nodeMaps)) 5597var syntaxMaps = CreateAggregateSyntaxMaps(newSyntaxTree, topMatch.ReverseMatches, updatesInCurrentDocument.ChangedDeclarations);
EditAndContinue\EditSession.cs (3)
928var first = g.First(); 929foreach (var m in g) 945var syntaxMapsForTree = newMaps.FirstOrDefault(static (m, newNode) => m.NewTree == newNode.SyntaxTree, newNode);
EditAndContinue\SemanticEditInfo.cs (4)
45SyntaxMaps syntaxMaps, 68public static SemanticEditInfo CreateUpdate(SymbolKey symbol, SyntaxMaps syntaxMaps, SymbolKey? partialType) 71public static SemanticEditInfo CreateUpdate(ISymbol symbol, SyntaxMaps syntaxMaps, CancellationToken cancellationToken) 119public SyntaxMaps SyntaxMaps { get; }