Fix wrong behaviour when move multiple files out of watched folder on mac (dotnet...
authorJan Jahoda <jajahoda@microsoft.com>
Mon, 4 Nov 2019 16:07:14 +0000 (17:07 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2019 16:07:14 +0000 (17:07 +0100)
commit26970f6ffdf3ea760efba5707009d29275d1ad1b
tree9b986ba7822d2f39280d54e4cd7a90dd330058f8
parent2eaf83338a40989ec6c9eb72c0b2d7c85f2ad3c4
Fix wrong behaviour when move multiple files out of watched folder on mac (dotnet/corefx#41963)

* FS

watcher

* Multiple rename macOS fix

* Multiple rename macOS fix

* Format code

* Clean proj file

* Apply PR comments

* Apply suggestions from code review

Co-Authored-By: Cory Nelson <phrosty@gmail.com>
* Update src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.OSX.cs

Co-Authored-By: Stephen Toub <stoub@microsoft.com>
* Apply PR comments

* Apply PR comments

* Apply PR comments

* Document rename event id behaviour

Commit migrated from https://github.com/dotnet/corefx/commit/a1f8c919ac1280bb235264d5cc81f23b0d117710
src/libraries/System.IO.FileSystem.Watcher/src/System.IO.FileSystem.Watcher.csproj
src/libraries/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.OSX.cs
src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Move.cs
src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Move.cs
src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs