1 write to DefaultEncoding
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\FileTextLoader.cs (1)
52
DefaultEncoding
= defaultEncoding;
4 references to DefaultEncoding
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\FileTextLoader.cs (3)
32
/// Note that if the stream starts with Byte Order Mark the value of <see cref="
DefaultEncoding
"/> is ignored.
77
=> EncodedStringText.Create(stream,
DefaultEncoding
, checksumAlgorithm: SourceHashAlgorithms.Default);
86
: EncodedStringText.Create(stream,
DefaultEncoding
, checksumAlgorithm: options.ChecksumAlgorithm);
Workspace\WorkspaceFileTextLoader.cs (1)
31
=> _textFactory.CreateText(stream,
DefaultEncoding
, options.ChecksumAlgorithm, cancellationToken);