1 instantiation of SourceDocumentInfo
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
375
_fileToDocumentInfoMap[info.FilePath] =
new
(documentId, encoding, info.ChecksumAlgorithm, sourceProject.Id, sourceWorkspace, documentInfo);
6 references to SourceDocumentInfo
Microsoft.CodeAnalysis.Features (6)
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (6)
71
private readonly ConcurrentDictionary<string,
SourceDocumentInfo
> _fileToDocumentInfoMap = new(StringComparer.OrdinalIgnoreCase);
350
if (_fileToDocumentInfoMap.TryGetValue(info.FilePath, out
var
sourceDocumentInfo))
390
if (_fileToDocumentInfoMap.TryGetValue(filePath, out
var
info))
410
if (_fileToDocumentInfoMap.TryGetValue(filePath, out
var
info))
433
_fileToDocumentInfoMap.TryGetValue(document.FilePath, out
var
info))
484
public ImmutableDictionary<string,
SourceDocumentInfo
> Documents => _instance._fileToDocumentInfoMap.ToImmutableDictionary();