mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 19:10:41 -10:00
* FileStream SafeHandle ctor negative test fix The tests were intermittently failing on desktop as the constructor was closing the handle when it got finalized. - Moved the negative tests into a new class (they were running redundantly with no changes) - Stopped creating files where it wasn't needed - Added specific test for checking handle state and disabled for desktop with active issue * Was looking at the redundancy as functional at the end point, not that they were calling different constructors. Putting them back in the derived classes to avoid introducing constructor overload regressions. Commit migrated from https://github.com/dotnet/corefx/commit/dbd01e7691932235e007e454a1b7d7934b582de9