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>
282
return
_bufferToAssociatedDocumentsMap
.Where(kvp => kvp.Value.Contains(documentId)).Select(kvp => kvp.Key).FirstOrDefault();
798
if (
_bufferToAssociatedDocumentsMap
.TryGetValue(textContainer, out var docIds))
817
_bufferToAssociatedDocumentsMap
[textContainer] = docIds;
824
if (!
_bufferToAssociatedDocumentsMap
.TryGetValue(textContainer, out var docIds))
838
_bufferToAssociatedDocumentsMap
.Remove(textContainer);
844
_bufferToAssociatedDocumentsMap
[textContainer] = docIds;