189 references to Out
Aspire.Hosting (1)
Dcp\DcpHostService.cs (1)
200OnOutputData = Console.Out.Write,
BuildValidator (1)
Program.cs (1)
158Console.Out.Flush();
ClientSample (3)
RawSample.cs (1)
57_ = ReceiveLoop(Console.Out, connection.Transport.Input);
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
csc (4)
src\Compilers\Core\CommandLine\ConsoleUtil.cs (3)
17/// This will update the <see cref="Console.Out"/> value to have UTF-8 encoding for the duration of the 26return func(Console.Out); 45if (textWriter != Console.Out)
src\Compilers\Shared\BuildClient.cs (1)
127textWriter = textWriter ?? Console.Out;
CSharpSyntaxGenerator (1)
Program.cs (1)
130SignatureWriter.Write(Console.Out, tree);
dotnet-dev-certs (3)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
28public TextWriter Out => Console.Out;
dotnet-getdocument (3)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
28public TextWriter Out => Console.Out;
dotnet-openapi (3)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
28public TextWriter Out => Console.Out;
dotnet-sql-cache (3)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
28public TextWriter Out => Console.Out;
dotnet-svcutil-lib.Tests (1)
UnitTest.cs (1)
30var originalOutput = Console.Out;
dotnet-user-jwts (3)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
28public TextWriter Out => Console.Out;
dotnet-user-secrets (3)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
28public TextWriter Out => Console.Out;
GetDocument.Insider (3)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
28public TextWriter Out => Console.Out;
HttpStress (3)
Program.cs (3)
544lock (Console.Out) 603lock (Console.Out) 746lock (Console.Out)
IIS.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.Components.Performance (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.ConcurrencyLimiter.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.Grpc.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.OpenApi.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.Security.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.Server.HttpSys.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.WebSockets.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.Build (6)
BackEnd\Node\OutOfProcServerNode.cs (1)
407var oldOut = Console.Out;
Logging\BaseConsoleLogger.cs (2)
361Console.Out.Write(colorString); 370Console.Out.Write("\x1b[m");
Logging\ConsoleLogger.cs (1)
76this(verbosity, Console.Out.Write, BaseConsoleLogger.SetColor, BaseConsoleLogger.ResetColor)
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
51new WriteHandler(Console.Out.Write),
Logging\SerialConsoleLogger.cs (1)
41new WriteHandler(Console.Out.Write),
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TaskHost_Tests.cs (5)
1283Console.Out.WriteLine("AnyEvent:" + e.Message); 1296Console.Out.WriteLine("CustomError:" + e.Message); 1309Console.Out.WriteLine("CustomWarning:" + e.Message); 1322Console.Out.WriteLine("CustomMessage:" + e.Message); 1335Console.Out.WriteLine("CustomEvent:" + e.Message);
Microsoft.Build.Tasks.CodeAnalysis (3)
src\Compilers\Core\CommandLine\ConsoleUtil.cs (3)
17/// This will update the <see cref="Console.Out"/> value to have UTF-8 encoding for the duration of the 26return func(Console.Out); 45if (textWriter != Console.Out)
Microsoft.Cci.Extensions (1)
Experimental\APIEmitter.cs (1)
23_writer = Console.Out;
Microsoft.CodeAnalysis (1)
InternalUtilities\FailFast.cs (1)
83Console.Out.Flush();
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (1)
83Console.Out.Flush();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (1)
83Console.Out.Flush();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (1)
83Console.Out.Flush();
Microsoft.CodeAnalysis.InteractiveHost (6)
Interactive\Core\InteractiveHost.Service.cs (5)
172var globals = new InteractiveScriptGlobals(Console.Out, replServiceProvider.ObjectFormatter); 515Console.Out.WriteLine(serviceState.ReplServiceProvider.Logo); 520Console.Out.WriteLine(string.Format(InteractiveHostResources.Loading_context_from_0, Path.GetFileName(initializationFilePath))); 532var writer = (error.Severity == DiagnosticSeverity.Error) ? Console.Error : Console.Out; 603Console.Out.WriteLine(InteractiveHostResources.Type_Sharphelp_for_more_information);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (1)
83Console.Out.Flush();
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\ConsoleIO.cs (1)
15public static readonly ConsoleIO Default = new ConsoleIO(Console.Out, Console.Error, Console.In);
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Desktop\DesktopRuntimeEnvironment.cs (1)
416TextWriter originalOut = Console.Out;
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (1)
83Console.Out.Flush();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (1)
83Console.Out.Flush();
Microsoft.DotNet.AsmDiff (1)
Program.cs (1)
206return Console.Out;
Microsoft.DotNet.GenAPI (1)
GenAPITask.cs (1)
286return Console.Out;
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Program.cs (1)
69options.WriteOptionDescriptions(Console.Out);
Microsoft.Extensions.Diagnostics (1)
Metrics\DebugConsoleMetricListener.cs (1)
69var writer = _textWriter ?? Console.Out;
Microsoft.Extensions.Logging.Console (2)
AnsiLogConsole.cs (1)
17_textWriter = stdErr ? System.Console.Error : System.Console.Out;
AnsiParsingLogConsole.cs (1)
21_textWriter = stdErr ? System.Console.Error : System.Console.Out;
Microsoft.Extensions.ObjectPool.Microbenchmark (1)
src\Shared\BenchmarkRunner\Program.cs (1)
104_standardOutput = Console.Out;
Microsoft.Extensions.Telemetry (1)
Latency\Internal\LatencyConsoleExporter.cs (1)
109return Console.Out.WriteAsync(sb.ToString());
Microsoft.ML.Core (3)
Environment\ConsoleEnvironment.cs (3)
50_colorOut = outWriter == Console.Out; 309if (isError && _err != _out && (_out != Console.Out || _err != Console.Error)) 374_consoleWriter = new ConsoleWriter(this, outWriter ?? Console.Out, errWriter ?? Console.Error, testWriter);
Microsoft.ML.ResultProcessor (1)
ResultProcessor.cs (1)
1082? File.CreateText(cmd.OutputFile) : Console.Out);
Microsoft.ML.Tests (1)
ExpressionLanguageTests\ExpressionLanguageTests.cs (1)
441private static TextWriter OutWriter { get { return Writer ?? Console.Out; } }
MSBuild (5)
TerminalLogger\Terminal.cs (1)
81Output = Console.Out;
XMake.cs (4)
842exitType = OutputPropertiesAfterEvaluation(getProperty, getItem, project, Console.Out); 915exitType = OutputBuildInformationInJson(result, getProperty, getItem, getTargetResult, loggers, exitType, Console.Out); 3217TextWriter writer = Console.Out; 3236TextWriter writer = Console.Out;
PresentationCore (1)
MS\Internal\MediaTrace.cs (1)
70System.Diagnostics.Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
PresentationFramework (1)
MS\Internal\Documents\DocumentsTrace.cs (1)
109TextWriterTraceListener consoleListener = new TextWriterTraceListener( Console.Out );
RunTests (3)
ConsoleUtil.cs (2)
55Console.Out.Flush(); 58Console.Out.Flush();
Options.cs (1)
203optionSet.WriteOptionDescriptions(Console.Out);
Stress.ApiService (1)
Program.cs (1)
42Console.Out.WriteLine($"{i} Out");
Swaggatherer (2)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
System.Console (51)
System\Console.cs (41)
733Out.WriteLine(); 739Out.WriteLine(value); 745Out.WriteLine(value); 751Out.WriteLine(buffer); 757Out.WriteLine(buffer, index, count); 763Out.WriteLine(value); 769Out.WriteLine(value); 775Out.WriteLine(value); 781Out.WriteLine(value); 788Out.WriteLine(value); 794Out.WriteLine(value); 801Out.WriteLine(value); 807Out.WriteLine(value); 813Out.WriteLine(value); 819Out.WriteLine(value); 825Out.WriteLine(format, arg0); 831Out.WriteLine(format, arg0, arg1); 837Out.WriteLine(format, arg0, arg1, arg2); 844Out.WriteLine(format, null, null); // faster than Out.WriteLine(format, (Object)arg); 846Out.WriteLine(format, arg); 857Out.WriteLine(format, arg); 863Out.Write(format, arg0); 869Out.Write(format, arg0, arg1); 875Out.Write(format, arg0, arg1, arg2); 882Out.Write(format, null, null); // faster than Out.Write(format, (Object)arg); 884Out.Write(format, arg); 895Out.Write(format, arg); 901Out.Write(value); 907Out.Write(value); 913Out.Write(buffer); 919Out.Write(buffer, index, count); 925Out.Write(value); 931Out.Write(value); 937Out.Write(value); 943Out.Write(value); 950Out.Write(value); 956Out.Write(value); 963Out.Write(value); 969Out.Write(value); 975Out.Write(value); 981Out.Write(value);
System\ConsolePal.Unix.cs (10)
173lock (Console.Out) // synchronize with other writers 234lock (Console.Out) 353lock (Console.Out) 438lock (Console.Out) 652lock (Console.Out) 756lock (Console.Out) 879lock (Console.Out) // ensure that writing the ANSI string and setting initialized to true are done atomically 950lock (Console.Out) // synchronize with other writers 960lock (Console.Out) // synchronize with other writers 1023lock (Console.Out)
System.Diagnostics.TextWriterTraceListener (3)
System\Diagnostics\ConsoleTraceListener.cs (2)
9: base(Console.Out) 14: base(useErrorStream ? Console.Error : Console.Out)
System\Diagnostics\TextWriterTraceListener.cs (1)
12/// such as <see cref='System.Console.Out'/> or <see cref='System.IO.FileStream'/>.</para>
Templates.Blazor.Tests (2)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
Templates.Mvc.Tests (2)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
Templates.Tests (2)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
TestDiscoveryWorker (2)
Program.cs (2)
65await Console.Out.WriteLineAsync($"Discovering tests in {testDescriptor}...").ConfigureAwait(false); 89await Console.Out.WriteLineAsync($"Discovered {testsToWrite.Count} tests in {testDescriptor}").ConfigureAwait(false);
TestProject.AppHost (1)
TestProgram.cs (1)
173await Console.Out.WriteLineAsync("$ENDPOINTS: " + JsonSerializer.Serialize(root, JsonSerializerOptions.Default));
vbc (4)
src\Compilers\Core\CommandLine\ConsoleUtil.cs (3)
17/// This will update the <see cref="Console.Out"/> value to have UTF-8 encoding for the duration of the 26return func(Console.Out); 45if (textWriter != Console.Out)
src\Compilers\Shared\BuildClient.cs (1)
127textWriter = textWriter ?? Console.Out;
VBCSCompiler (4)
src\Compilers\Core\CommandLine\ConsoleUtil.cs (3)
17/// This will update the <see cref="Console.Out"/> value to have UTF-8 encoding for the duration of the 26return func(Console.Out); 45if (textWriter != Console.Out)
src\Compilers\Shared\BuildClient.cs (1)
127textWriter = textWriter ?? Console.Out;
Wasm.Performance.ConsoleHost (2)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
27return new AnsiConsole(Console.Out, useConsoleColor);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
64public TextWriter Out { get; set; } = Console.Out;
xunit.console (2)
common\ConsoleHelper.cs (2)
53Console.Out.Write(colorString); 61=> Console.Out.Write("\x1b[m");