4 references to Encoding
Microsoft.CodeAnalysis.Features (4)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (2)
206using (var textWriter = new StreamWriter(fileInfo.TemporaryFilePath, append: false, encoding: MetadataAsSourceGeneratedFileInfo.Encoding)) 335workspace.OnDocumentClosed(documentId, new WorkspaceFileTextLoader(workspace.Services.SolutionServices, fileInfo.TemporaryFilePath, MetadataAsSourceGeneratedFileInfo.Encoding));
MetadataAsSource\MetadataAsSourceGeneratedFileInfo.cs (2)
74var assemblyInfoSourceText = SourceText.From(assemblyInfoString, Encoding, ChecksumAlgorithm); 88loader: loadFileFromDisk ? new WorkspaceFileTextLoader(services, TemporaryFilePath, Encoding) : null,