but doesn't provide any real value.
This code is racing with a call to close on the handle. The check for IsHandleInvalid
returns false, but then someone closes the handle before this code runs. We'd
either need to lock or swallow the exception. This change ignores the assert since
1) it isn't giving us any new information, and 2) that's what the release code
has been doing anyways.
Commit migrated from https://github.com/dotnet/corefx/commit/2a856b52f0beb66d0647e50895678d31d074da00
The FileSystemWatcher implementation today does event arg allocations and string pattern matching for each event even if no event handler is registered to handle that event. This commit restructures things a little to avoid that unnecessary work.
Commit migrated from https://github.com/dotnet/corefx/commit/426d804b867aebf1900446a7920bc54e547b0474
After we'd done the Linux implementation, we started a convention elsewhere in corefx where everything that implements the PAL is above a particular comment, with everything else below. Just instituting that here as well.
Commit migrated from https://github.com/dotnet/corefx/commit/6e81f6bfea494c8881d66934063c072331710d88
- Refactor interop.inotify.cs
- Convert string comparison to use equals instead of Compare
- Update Resources to consume resource generation change commit
- Separate project from System.IO.FileSystem
- move sln into library directory
- Remove assemblyinfo because it is now auto-generated.
Commit migrated from https://github.com/dotnet/corefx/commit/a07b789661114f7d441605067a37d4c0f7e24557