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