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