17 references to _documentPathsToDocumentIds
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (17)
58
/// The current list of documents that are being removed in this batch. Once the document is in this list, it is no longer in <see cref="
_documentPathsToDocumentIds
"/>.
119
if (
_documentPathsToDocumentIds
.ContainsKey(fullPath))
127
_documentPathsToDocumentIds
.Add(fullPath, documentId);
178
if (
_documentPathsToDocumentIds
.ContainsKey(fullPath))
183
_documentPathsToDocumentIds
.Add(fullPath, documentId);
217
if (
_documentPathsToDocumentIds
.ContainsKey(filePath))
225
_documentPathsToDocumentIds
.Add(filePath, documentId);
255
if (!
_documentPathsToDocumentIds
.TryGetValue(fullPath, out var documentId) ||
277
if (!
_documentPathsToDocumentIds
.TryGetValue(fullPath, out var documentId))
292
_documentPathsToDocumentIds
.Remove(fullPath);
340
var entry =
_documentPathsToDocumentIds
.Where(kv => kv.Value == documentId).FirstOrDefault();
343
_documentPathsToDocumentIds
.Remove(entry.Key);
394
return
_documentPathsToDocumentIds
.ContainsKey(fullPath);
412
if (
_documentPathsToDocumentIds
.TryGetValue(filePath, out var documentId))
486
if (!
_documentPathsToDocumentIds
.TryGetValue(workspaceFilePath, out documentId))
528
if (
_documentPathsToDocumentIds
.Count != filePaths.Length)
537
if (
_documentPathsToDocumentIds
.TryGetValue(filePath, out var documentId))