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