17 writes to OutputEncoding
aspire (1)
Program.cs (1)
213Console.OutputEncoding = Encoding.UTF8;
csc (2)
src\Compilers\Shared\ConsoleUtil.cs (2)
25Console.OutputEncoding = s_utf8Encoding; 32Console.OutputEncoding = savedEncoding;
dotnet-getdocument (1)
src\Tools\GetDocumentInsider\src\ProgramBase.cs (1)
28Console.OutputEncoding = Encoding.UTF8;
dotnet-svcutil-lib (1)
Tool.cs (1)
430Console.OutputEncoding = Encoding.UTF8;
GetDocument.Insider (1)
ProgramBase.cs (1)
28Console.OutputEncoding = Encoding.UTF8;
InProcessWebSite (1)
Program.cs (1)
90Console.OutputEncoding = Encoding.UTF8;
Microsoft.Build.Framework (1)
EncodingUtilities.cs (1)
277Console.OutputEncoding = Encoding.UTF8;
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Shared\ConsoleUtil.cs (2)
25Console.OutputEncoding = s_utf8Encoding; 32Console.OutputEncoding = savedEncoding;
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Shared\ConsoleUtil.cs (2)
25Console.OutputEncoding = s_utf8Encoding; 32Console.OutputEncoding = savedEncoding;
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
142Console.OutputEncoding = OutputEncoding;
vbc (2)
src\Compilers\Shared\ConsoleUtil.cs (2)
25Console.OutputEncoding = s_utf8Encoding; 32Console.OutputEncoding = savedEncoding;
VBCSCompiler (2)
src\Compilers\Shared\ConsoleUtil.cs (2)
25Console.OutputEncoding = s_utf8Encoding; 32Console.OutputEncoding = savedEncoding;
10 references to OutputEncoding
csc (1)
src\Compilers\Shared\ConsoleUtil.cs (1)
22Encoding savedEncoding = Console.OutputEncoding;
dotnet-svcutil.xmlserializer (2)
Microsoft\Tools\ServiceModel\SvcUtil\Tool.cs (2)
99if ((System.Console.OutputEncoding.CodePage != Encoding.UTF8.CodePage) && 100(System.Console.OutputEncoding.CodePage != Thread.CurrentThread.CurrentUICulture.TextInfo.OEMCodePage))
Metrics (1)
Program.cs (1)
240metricFile = new XmlTextWriter(Console.OpenStandardOutput(), Console.OutputEncoding);
Metrics.Legacy (1)
src\RoslynAnalyzers\Tools\Metrics\Program.cs (1)
240metricFile = new XmlTextWriter(Console.OpenStandardOutput(), Console.OutputEncoding);
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\ConsoleUtil.cs (1)
22Encoding savedEncoding = Console.OutputEncoding;
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Shared\ConsoleUtil.cs (1)
22Encoding savedEncoding = Console.OutputEncoding;
System.Console (1)
System\Console.cs (1)
242encoding: OutputEncoding.RemovePreamble(), // This ensures no prefix is written to the stream.
vbc (1)
src\Compilers\Shared\ConsoleUtil.cs (1)
22Encoding savedEncoding = Console.OutputEncoding;
VBCSCompiler (1)
src\Compilers\Shared\ConsoleUtil.cs (1)
22Encoding savedEncoding = Console.OutputEncoding;