mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
On another note, after writing a test I discovered Asynchronous pipes appear to be completely broken on Win32. The class does not correctly handle overlapped I/O. This patch doesn't fix that. One other fix in this patch, the DllImports for Win32 pipes did not have SetLastError set. So, they were unable to return a meaningful error in the event of failure. This is now fixed, and UnauthorizedAccessException correctly throws for pipe connects denied by ACL (necessary for PipeSecurity test).