[wasm][bcl] Handle correctly backslash in file name (#34746)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Sat, 11 Apr 2020 07:41:22 +0000 (03:41 -0400)
committerGitHub <noreply@github.com>
Sat, 11 Apr 2020 07:41:22 +0000 (09:41 +0200)
commitc423ff475cd594a3bcd4e645086a1134b22f1c15
tree4d341a3a64ac4e850c0aa780b7af74d9d50a1bff
parent13431bfbbdfe42e1673daebb17f306d35a575d90
[wasm][bcl] Handle correctly backslash in file name (#34746)

- Modify IO file to assign backslash to alternate directory separator by default
- Add tests for issue https://github.com/mono/mono/issues/18933

closes: https://github.com/mono/mono/issues/18933

<!--
Thank you for your Pull Request!

If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.

Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
-->

Co-authored-by: kjpou1 <kjpou1@users.noreply.github.com>
src/mono/mono/metadata/w32file.c