You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Console.CursorLeft, Console.CursorTop, Console.WindowWidth, Console.WindowHeight and Console.WindowTopLeft doesn't throw an IOException for invalid values on Windows 7 x86 when Input is redirected #43138
Happening when input/output is redirected for the in the title noted properties.
Example:
Assert.Throws() Failure
Expected: typeof(System.IO.IOException)
Actual: typeof(System.ArgumentOutOfRangeException): Positive number required. (Parameter 'width')
Actual value was -1.
---- System.ArgumentOutOfRangeException : Positive number required. (Parameter 'width')
Actual value was -1.
Activity
eiriktsarpalis commentedon Oct 13, 2020
Related to #43015
adamsitnik commentedon Jul 7, 2022
dotnet/announcements#226