16 references to _documentsAddedInBatch
Microsoft.CodeAnalysis.Workspaces (16)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (16)
35
/// The map of file paths to the underlying <see cref="DocumentId"/>. This document may exist in <see cref="
_documentsAddedInBatch
"/> or has been
119
_documentsAddedInBatch
.Add(documentInfo);
177
_documentsAddedInBatch
.Add(documentInfo);
224
_documentsAddedInBatch
.Add(documentInfo);
299
for (var i = 0; i <
_documentsAddedInBatch
.Count; i++)
301
if (
_documentsAddedInBatch
[i].Id == documentId)
303
_documentsAddedInBatch
.RemoveAt(i);
360
for (var i = 0; i <
_documentsAddedInBatch
.Count; i++)
362
if (
_documentsAddedInBatch
[i].Id == documentId)
364
_documentsAddedInBatch
.RemoveAt(i);
406
if (!
_documentsAddedInBatch
.Any(d => d.Id == documentId))
459
if (
_documentsAddedInBatch
.Any(d => d.Id == documentId))
542
newSolution: addDocuments(solutionChanges.Solution,
_documentsAddedInBatch
.ToImmutable()),
544
documentIds:
_documentsAddedInBatch
.Select(d => d.Id));
546
foreach (var documentInfo in
_documentsAddedInBatch
)
557
ClearAndZeroCapacity(
_documentsAddedInBatch
);