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