1 instantiation of MetadataAsSourceGeneratedFileInfo
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
108
_ => new
MetadataAsSourceGeneratedFileInfo
(tempPath, sourceWorkspace, sourceProject, topLevelNamedType, signaturesOnly: !useDecompiler));
10 references to MetadataAsSourceGeneratedFileInfo
Microsoft.CodeAnalysis.Features (10)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (10)
47
private readonly Dictionary<UniqueDocumentKey,
MetadataAsSourceGeneratedFileInfo
> _keyToInformation = [];
54
private readonly ConcurrentDictionary<string,
MetadataAsSourceGeneratedFileInfo
> _generatedFilenameToInformation = new(StringComparer.OrdinalIgnoreCase);
61
private IBidirectionalMap<
MetadataAsSourceGeneratedFileInfo
, DocumentId> _openedDocumentIds = BidirectionalMap<
MetadataAsSourceGeneratedFileInfo
, DocumentId>.Empty;
78
MetadataAsSourceGeneratedFileInfo
fileInfo;
206
using (var textWriter = new StreamWriter(fileInfo.TemporaryFilePath, append: false, encoding:
MetadataAsSourceGeneratedFileInfo
.Encoding))
261
private async Task<Location> RelocateSymbol_NoLockAsync(Solution solution,
MetadataAsSourceGeneratedFileInfo
fileInfo, SymbolKey symbolId, CancellationToken cancellationToken)
329
private bool RemoveDocumentFromWorkspace_NoLock(MetadataAsSourceWorkspace workspace,
MetadataAsSourceGeneratedFileInfo
fileInfo)
335
workspace.OnDocumentClosed(documentId, new WorkspaceFileTextLoader(workspace.Services.SolutionServices, fileInfo.TemporaryFilePath,
MetadataAsSourceGeneratedFileInfo
.Encoding));
345
MetadataAsSourceGeneratedFileInfo
? fileInfo;