10 references to _bufferToDocumentInCurrentContextMap
Microsoft.CodeAnalysis.Workspaces (10)
Workspace\Workspace_Editor.cs (10)
254=> _bufferToDocumentInCurrentContextMap.TryGetValue(container, out var documentId) ? documentId : null; 324oldActiveContextDocumentId = _bufferToDocumentInCurrentContextMap[container]; 685Contract.ThrowIfFalse(_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 693Contract.ThrowIfFalse(!_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 697if (isCurrentContext || !_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)) 699_bufferToDocumentInCurrentContextMap[textContainer] = id; 711Contract.ThrowIfFalse(!_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 715Contract.ThrowIfFalse(_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 724_bufferToDocumentInCurrentContextMap.Remove(textContainer); 730_bufferToDocumentInCurrentContextMap[textContainer] = docIds[0];