mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 19:10:41 -10:00
* FileStream.Unix: improve DeleteOnClose when FileShare.None. Use FileShare.None lock to detect when another Handle that has DeleteOnClose deleted the file, and then re-open it. * Rephrase comment * FileStream_DeleteOnClose: handle a few special cases. * Try avoiding test timeout on arm * Limit check to filemodes that open an existing file, or create it when it doesn't exist. * PR feedback * Limit functional change to FileMode.OpenOrCreate, and increase test timeout. * Fix comment. Co-authored-by: Carlos Sanchez <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]>