3 writes to NodeKey
Microsoft.VisualStudio.LanguageServices.Implementation (3)
CodeModel\InternalElements\AbstractKeyedCodeElement.cs (3)
30NodeKey = nodeKey; 42NodeKey = new SyntaxNodeKey(name, -1); 74NodeKey = newNodeKey;
12 references to NodeKey
Microsoft.VisualStudio.LanguageServices.Implementation (12)
CodeModel\FileCodeModel.cs (2)
721if (_codeElementTable.TryGetValue(elementAndPath.Item1.NodeKey, out var existingElement)) 803var nodeKey = keyedElement.NodeKey;
CodeModel\InternalElements\AbstractCodeType.cs (4)
78(ICodeElements)InheritsImplementsCollection.Create(this.State, this, this.FileCodeModel, this.NodeKey), 87return BasesCollection.Create(this.State, this, this.FileCodeModel, this.NodeKey, interfaces: false); 113return BasesCollection.Create(this.State, this, this.FileCodeModel, this.NodeKey, interfaces: true); 121return TypeCollection.Create(this.State, this, this.FileCodeModel, this.NodeKey);
CodeModel\InternalElements\AbstractKeyedCodeElement.cs (5)
50get { return NodeKey.Ordinal == -1; } 54=> CodeModelService.LookupNode(NodeKey, GetSyntaxTree()); 57=> CodeModelService.TryLookupNode(NodeKey, GetSyntaxTree(), out node); 72FileCodeModel.UpdateCodeElementNodeKey(this, NodeKey, newNodeKey); 96FileCodeModel.OnCodeElementDeleted(NodeKey);
CodeModel\InternalElements\CodeNamespace.cs (1)
116return NamespaceCollection.Create(State, this, FileCodeModel, NodeKey);