-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[corlib] Import FileSystemInfo and family from CoreFX #11342
[corlib] Import FileSystemInfo and family from CoreFX #11342
Conversation
4116ff9
to
9f258cd
Compare
@monojenkins build |
1 similar comment
@monojenkins build |
28aa48c
to
fdd9403
Compare
69de4f7
to
0dc3992
Compare
mcs/class/corlib/System.IO.Enumeration/FileSystemEnumerator.NotSupported.cs
Show resolved
Hide resolved
cd003c2
to
7f22c28
Compare
|
||
namespace System.IO | ||
{ | ||
internal static class MonoLinqHelper { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need this we already have EnumerableHelpers
@@ -1113,7 +1109,7 @@ public void SetLastWriteTimeException2 () | |||
} | |||
|
|||
[Test] | |||
[ExpectedException(typeof(FileNotFoundException))] | |||
[ExpectedException()] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was the type removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These now throw DirectoryNotFoundException
on Unix, and FileNotFoundException
on Windows
mcs/class/corlib/System.IO.Enumeration/FileSystemEnumerator.NotSupported.cs
Show resolved
Hide resolved
The test that runs on Mono (004.1) claims to assert that SetLastError works for pInvokes, but fails to use the Flag when declaring the used pInvoke so it was testing that the last errno happened to be zero. If fixed to use the flag, the test fails as the errno after getenv() is 13; this may be a Mono bug or something else broken with the test
d70b8a8
to
0d16c27
Compare
091f705
to
73466e7
Compare
@monojenkins commit csproj |
Issues addressed and all checks except apidiff should pass, please review :)
5b0b91e
to
83be2a3
Compare
@monojenkins build Linux AArch64 Coop Suspend |
@monojenkins backport to 2018-12 |
@marek-safar can you approve/merge? |
@monojenkins commit apidiff |
Includes the following from System.IO:
Join()
Span APIand all of System.IO.Enumeration namespace.
Adds about 1600 System.IO tests
Behavior changes:
File.Replace
now replaces files even if they are read-only (using therename
syscall on Unix)Issues:
Part of #7246