7 references to GetOrAdd
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\Solution\Project.cs (6)
239
=> ImmutableHashMapExtensions.
GetOrAdd
(ref _idToDocumentMap, documentId, s_tryCreateDocumentFunction, this);
245
=> ImmutableHashMapExtensions.
GetOrAdd
(ref _idToAdditionalDocumentMap, documentId, s_tryCreateAdditionalDocumentFunction, this);
251
=> ImmutableHashMapExtensions.
GetOrAdd
(ref _idToAnalyzerConfigDocumentMap, documentId, s_tryCreateAnalyzerConfigDocumentFunction, this);
290
ImmutableHashMapExtensions.
GetOrAdd
(ref _idToSourceGeneratedDocumentMap, state.Id, s_createSourceGeneratedDocumentFunction, (state, this)))!;
318
=> ImmutableHashMapExtensions.
GetOrAdd
(ref _idToSourceGeneratedDocumentMap, state.Id, s_createSourceGeneratedDocumentFunction, (state, this))!;
345
return ImmutableHashMapExtensions.
GetOrAdd
(ref _idToSourceGeneratedDocumentMap, documentId, s_createSourceGeneratedDocumentFunction, (documentState, this));
Workspace\Solution\Solution.cs (1)
120
return ImmutableHashMapExtensions.
GetOrAdd
(ref _projectIdToProjectMap, projectId, s_createProjectFunction, this);