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
"/>.
106
if (
_documentPathsToDocumentIds
.ContainsKey(fullPath))
114
_documentPathsToDocumentIds
.Add(fullPath, documentId);
165
if (
_documentPathsToDocumentIds
.ContainsKey(fullPath))
170
_documentPathsToDocumentIds
.Add(fullPath, documentId);
204
if (
_documentPathsToDocumentIds
.ContainsKey(filePath))
212
_documentPathsToDocumentIds
.Add(filePath, documentId);
242
if (!
_documentPathsToDocumentIds
.TryGetValue(fullPath, out var documentId) ||
264
if (!
_documentPathsToDocumentIds
.TryGetValue(fullPath, out var documentId))
279
_documentPathsToDocumentIds
.Remove(fullPath);
327
var entry =
_documentPathsToDocumentIds
.Where(kv => kv.Value == documentId).FirstOrDefault();
330
_documentPathsToDocumentIds
.Remove(entry.Key);
381
return
_documentPathsToDocumentIds
.ContainsKey(fullPath);
399
if (
_documentPathsToDocumentIds
.TryGetValue(filePath, out var documentId))
454
if (
_documentPathsToDocumentIds
.TryGetValue(workspaceFilePath, out var documentId))
503
if (
_documentPathsToDocumentIds
.Count != filePaths.Length)
512
if (
_documentPathsToDocumentIds
.TryGetValue(filePath, out var documentId))