23 references to IsOutputRedirected
dotnet-dev-certs (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
30public bool IsOutputRedirected => Console.IsOutputRedirected;
dotnet-getdocument (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
30public bool IsOutputRedirected => Console.IsOutputRedirected;
dotnet-openapi (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
30public bool IsOutputRedirected => Console.IsOutputRedirected;
dotnet-sql-cache (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
30public bool IsOutputRedirected => Console.IsOutputRedirected;
dotnet-user-jwts (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
30public bool IsOutputRedirected => Console.IsOutputRedirected;
dotnet-user-secrets (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
30public bool IsOutputRedirected => Console.IsOutputRedirected;
GetDocument.Insider (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
30public bool IsOutputRedirected => Console.IsOutputRedirected;
InProcessWebSite (1)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Program.cs (1)
84Console.WriteLine($"Is Console redirection: {Console.IsOutputRedirected}");
Microsoft.Build (3)
Logging\InProcessConsoleConfiguration.cs (3)
27if (NativeMethodsShared.IsWindows && !Console.IsOutputRedirected) 45acceptAnsiColorCodes = !Console.IsOutputRedirected; 93isScreen = !Console.IsOutputRedirected;
Microsoft.Build.Framework (1)
NativeMethods.cs (1)
1582if (Console.IsOutputRedirected)
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\Console\ConsoleUtils.cs (1)
28bool enabled = !Console.IsOutputRedirected;
MSBuild (2)
TerminalLogger\Terminal.cs (2)
43if (Console.IsOutputRedirected) 57if (Console.IsOutputRedirected)
System.Console (8)
src\libraries\Common\src\System\Console\ConsoleUtils.cs (1)
28bool enabled = !Console.IsOutputRedirected;
System\ConsolePal.Unix.cs (7)
196if (Console.IsOutputRedirected) 210if (!Console.IsOutputRedirected) 218if (!Console.IsOutputRedirected) 226if (Console.IsOutputRedirected) 393if (!Console.IsOutputRedirected) 404if (Console.IsInputRedirected || Console.IsOutputRedirected) 889s_terminalHandle = !Console.IsOutputRedirected ? Interop.Sys.FileDescriptors.STDOUT_FILENO :