10 references to _bufferToDocumentInCurrentContextMap
Microsoft.CodeAnalysis.Workspaces (10)
Workspace\Workspace_Editor.cs (10)
250=> _bufferToDocumentInCurrentContextMap.TryGetValue(container, out var documentId) ? documentId : null; 318oldActiveContextDocumentId = _bufferToDocumentInCurrentContextMap[container]; 801Contract.ThrowIfFalse(_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 809Contract.ThrowIfFalse(!_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 813if (isCurrentContext || !_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)) 815_bufferToDocumentInCurrentContextMap[textContainer] = id; 827Contract.ThrowIfFalse(!_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 831Contract.ThrowIfFalse(_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 840_bufferToDocumentInCurrentContextMap.Remove(textContainer); 846_bufferToDocumentInCurrentContextMap[textContainer] = docIds[0];