4 writes to _openedDocs
Microsoft.VisualStudio.LanguageServices.LiveShare (4)
Client\RemoteLanguageServiceWorkspace.cs (4)
221
_openedDocs
= _openedDocs.SetItem(moniker, document.Id);
373
_openedDocs
= _openedDocs.Remove(moniker);
449
_openedDocs
= _openedDocs.SetItem(filePath, docId);
458
_openedDocs
= _openedDocs.Remove(filePath);
7 references to _openedDocs
Microsoft.VisualStudio.LanguageServices.LiveShare (7)
Client\RemoteLanguageServiceWorkspace.cs (7)
210
if (
_openedDocs
.ContainsKey(moniker))
221
_openedDocs =
_openedDocs
.SetItem(moniker, document.Id);
367
if (
_openedDocs
.TryGetValue(moniker, out var id))
373
_openedDocs =
_openedDocs
.Remove(moniker);
449
_openedDocs =
_openedDocs
.SetItem(filePath, docId);
458
_openedDocs =
_openedDocs
.Remove(filePath);
479
if (
_openedDocs
.Values.Contains(documentId) || IsDocumentOpen(documentId))