diff --git a/src/libraries/System.Console/src/System/ConsolePal.Wasi.cs b/src/libraries/System.Console/src/System/ConsolePal.Wasi.cs index 22fb160f4c1814..6bde3aa39c57db 100644 --- a/src/libraries/System.Console/src/System/ConsolePal.Wasi.cs +++ b/src/libraries/System.Console/src/System/ConsolePal.Wasi.cs @@ -104,9 +104,9 @@ public static string Title public static void Clear() => throw new PlatformNotSupportedException(); public static void SetCursorPosition(int left, int top) => throw new PlatformNotSupportedException(); - public static bool IsInputRedirectedCore() => throw new PlatformNotSupportedException(); - public static bool IsOutputRedirectedCore() => throw new PlatformNotSupportedException(); - public static bool IsErrorRedirectedCore() => throw new PlatformNotSupportedException(); + public static bool IsInputRedirectedCore() => true; + public static bool IsOutputRedirectedCore() => true; + public static bool IsErrorRedirectedCore() => true; public static int BufferWidth {