7 references to _bufferToAssociatedDocumentsMap
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\Workspace_Editor.cs (7)
29/// <remarks>For each entry in this map, there must be a corresponding entry in <see cref="_bufferToAssociatedDocumentsMap"/> where the document ID in current context is one of associated document IDs.</remarks> 282return _bufferToAssociatedDocumentsMap.Where(kvp => kvp.Value.Contains(documentId)).Select(kvp => kvp.Key).FirstOrDefault(); 798if (_bufferToAssociatedDocumentsMap.TryGetValue(textContainer, out var docIds)) 817_bufferToAssociatedDocumentsMap[textContainer] = docIds; 824if (!_bufferToAssociatedDocumentsMap.TryGetValue(textContainer, out var docIds)) 838_bufferToAssociatedDocumentsMap.Remove(textContainer); 844_bufferToAssociatedDocumentsMap[textContainer] = docIds;