2 writes to _sourceTextContainersToDocumentIds
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (2)
173
_sourceTextContainersToDocumentIds
= _sourceTextContainersToDocumentIds.Add(textContainer, documentInfo.Id);
324
_sourceTextContainersToDocumentIds
= _sourceTextContainersToDocumentIds.RemoveKey(textContainer);
5 references to _sourceTextContainersToDocumentIds
Microsoft.CodeAnalysis.Workspaces (5)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (5)
158
if (
_sourceTextContainersToDocumentIds
.ContainsKey(textContainer))
173
_sourceTextContainersToDocumentIds =
_sourceTextContainersToDocumentIds
.Add(textContainer, documentInfo.Id);
319
if (!
_sourceTextContainersToDocumentIds
.TryGetValue(textContainer, out var documentId))
324
_sourceTextContainersToDocumentIds =
_sourceTextContainersToDocumentIds
.RemoveKey(textContainer);
551
documentId =>
_sourceTextContainersToDocumentIds
.GetKeyOrDefault(documentId));