17 references to _documentPathsToDocumentIds
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (17)
57
/// 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
"/>.
118
if (
_documentPathsToDocumentIds
.ContainsKey(fullPath))
126
_documentPathsToDocumentIds
.Add(fullPath, documentId);
177
if (
_documentPathsToDocumentIds
.ContainsKey(fullPath))
182
_documentPathsToDocumentIds
.Add(fullPath, documentId);
216
if (
_documentPathsToDocumentIds
.ContainsKey(filePath))
224
_documentPathsToDocumentIds
.Add(filePath, documentId);
254
if (!
_documentPathsToDocumentIds
.TryGetValue(fullPath, out var documentId) ||
276
if (!
_documentPathsToDocumentIds
.TryGetValue(fullPath, out var documentId))
291
_documentPathsToDocumentIds
.Remove(fullPath);
339
var entry =
_documentPathsToDocumentIds
.Where(kv => kv.Value == documentId).FirstOrDefault();
342
_documentPathsToDocumentIds
.Remove(entry.Key);
393
return
_documentPathsToDocumentIds
.ContainsKey(fullPath);
411
if (
_documentPathsToDocumentIds
.TryGetValue(filePath, out var documentId))
485
if (!
_documentPathsToDocumentIds
.TryGetValue(workspaceFilePath, out documentId))
527
if (
_documentPathsToDocumentIds
.Count != filePaths.Length)
536
if (
_documentPathsToDocumentIds
.TryGetValue(filePath, out var documentId))