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
calling Windows.Win32.PInvoke.AttachConsole(-1) will result in error because of the source generation: internal static extern winmdroot.Foundation.BOOL AttachConsole(uint dwProcessId);
Actual behavior
calling
Windows.Win32.PInvoke.AttachConsole(-1)
will result in error because of the source generation:internal static extern winmdroot.Foundation.BOOL AttachConsole(uint dwProcessId);
Expected behavior
-1 Should probably be allowed as an overload based on documentation here:
https://learn.microsoft.com/en-us/windows/console/attachconsole#parameters
Repro steps
NativeMethods.txt
content:NativeMethods.json
content (if present):Context
0.3.106
net9.0-windows10.0.26100.0
LangVersion
(if explicitly set by project): [e.g.9
]The text was updated successfully, but these errors were encountered: