6 references to _fileToDocumentInfoMap
Microsoft.CodeAnalysis.Features (6)
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (6)
338if (_fileToDocumentInfoMap.TryGetValue(info.FilePath, out var sourceDocumentInfo)) 363_fileToDocumentInfoMap[info.FilePath] = new(documentId, encoding, info.ChecksumAlgorithm, sourceProject.Id, sourceWorkspace, documentInfo); 371return _fileToDocumentInfoMap.TryGetValue(filePath, out _) && blockStructureOptions.CollapseMetadataImplementationsWhenFirstOpened; 377_fileToDocumentInfoMap.TryGetValue(document.FilePath, out var info)) 408_fileToDocumentInfoMap.Clear(); 427public ImmutableDictionary<string, SourceDocumentInfo> Documents => _instance._fileToDocumentInfoMap.ToImmutableDictionary();