1 instantiation of MetadataAsSourceGeneratedFileInfo
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
107
_ => new
MetadataAsSourceGeneratedFileInfo
(tempPath, sourceWorkspace, sourceProject, topLevelNamedType, signaturesOnly: !useDecompiler));
10 references to MetadataAsSourceGeneratedFileInfo
Microsoft.CodeAnalysis.Features (10)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (10)
46
private readonly Dictionary<UniqueDocumentKey,
MetadataAsSourceGeneratedFileInfo
> _keyToInformation = [];
53
private readonly ConcurrentDictionary<string,
MetadataAsSourceGeneratedFileInfo
> _generatedFilenameToInformation = new(StringComparer.OrdinalIgnoreCase);
60
private IBidirectionalMap<
MetadataAsSourceGeneratedFileInfo
, DocumentId> _openedDocumentIds = BidirectionalMap<
MetadataAsSourceGeneratedFileInfo
, DocumentId>.Empty;
77
MetadataAsSourceGeneratedFileInfo
fileInfo;
197
using (var textWriter = new StreamWriter(fileInfo.TemporaryFilePath, append: false, encoding:
MetadataAsSourceGeneratedFileInfo
.Encoding))
252
private async Task<Location> RelocateSymbol_NoLockAsync(Solution solution,
MetadataAsSourceGeneratedFileInfo
fileInfo, SymbolKey symbolId, CancellationToken cancellationToken)
320
private bool RemoveDocumentFromWorkspace_NoLock(MetadataAsSourceWorkspace workspace,
MetadataAsSourceGeneratedFileInfo
fileInfo)
326
workspace.OnDocumentClosed(documentId, new WorkspaceFileTextLoader(workspace.Services.SolutionServices, fileInfo.TemporaryFilePath,
MetadataAsSourceGeneratedFileInfo
.Encoding));
336
MetadataAsSourceGeneratedFileInfo
? fileInfo;