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); 299for (var i = 0; i < _documentsAddedInBatch.Count; i++) 301if (_documentsAddedInBatch[i].Id == documentId) 303_documentsAddedInBatch.RemoveAt(i); 360for (var i = 0; i < _documentsAddedInBatch.Count; i++) 362if (_documentsAddedInBatch[i].Id == documentId) 364_documentsAddedInBatch.RemoveAt(i); 406if (!_documentsAddedInBatch.Any(d => d.Id == documentId)) 459if (_documentsAddedInBatch.Any(d => d.Id == documentId)) 542newSolution: addDocuments(solutionChanges.Solution, _documentsAddedInBatch.ToImmutable()), 544documentIds: _documentsAddedInBatch.Select(d => d.Id)); 546foreach (var documentInfo in _documentsAddedInBatch) 557ClearAndZeroCapacity(_documentsAddedInBatch);