10 references to _bufferToDocumentInCurrentContextMap
Microsoft.CodeAnalysis.Workspaces (10)
Workspace\Workspace_Editor.cs (10)
249=> _bufferToDocumentInCurrentContextMap.TryGetValue(container, out var documentId) ? documentId : null; 317oldActiveContextDocumentId = _bufferToDocumentInCurrentContextMap[container]; 800Contract.ThrowIfFalse(_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 808Contract.ThrowIfFalse(!_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 812if (isCurrentContext || !_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)) 814_bufferToDocumentInCurrentContextMap[textContainer] = id; 826Contract.ThrowIfFalse(!_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 830Contract.ThrowIfFalse(_bufferToDocumentInCurrentContextMap.ContainsKey(textContainer)); 839_bufferToDocumentInCurrentContextMap.Remove(textContainer); 845_bufferToDocumentInCurrentContextMap[textContainer] = docIds[0];