22 references to IsInputRedirected
dotnet-dev-certs (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
29public bool IsInputRedirected => Console.IsInputRedirected;
dotnet-getdocument (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
29public bool IsInputRedirected => Console.IsInputRedirected;
dotnet-openapi (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
29public bool IsInputRedirected => Console.IsInputRedirected;
dotnet-sql-cache (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
29public bool IsInputRedirected => Console.IsInputRedirected;
dotnet-user-jwts (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
29public bool IsInputRedirected => Console.IsInputRedirected;
dotnet-user-secrets (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
29public bool IsInputRedirected => Console.IsInputRedirected;
GetDocument.Insider (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
29public bool IsInputRedirected => Console.IsInputRedirected;
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
115!Console.IsInputRedirected &&
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (2)
299if (Console.IsInputRedirected) 1351if (Console.IsInputRedirected)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
6057if (Console.IsInputRedirected)
System.Console (11)
System\Console.cs (1)
160if (IsInputRedirected)
System\ConsolePal.Unix.cs (9)
49useReadLine: !Console.IsInputRedirected); 101if (Console.IsInputRedirected) 124if (Console.IsInputRedirected) 139if (Console.IsInputRedirected) 147if (!Console.IsInputRedirected) 404if (Console.IsInputRedirected || Console.IsOutputRedirected) 433Debug.Assert(!Console.IsInputRedirected); 890!Console.IsInputRedirected ? Interop.Sys.FileDescriptors.STDIN_FILENO : 902if (!Console.IsInputRedirected)
System\IO\StdInReader.cs (1)
37Debug.Assert(!Console.IsInputRedirected); // stdin is a terminal.