Changed File.Copy to throw if destination is a directory on macOS (dotnet/corefx...
authorDávid Kaya <david.kaya@ysoft.com>
Sat, 4 May 2019 02:50:13 +0000 (04:50 +0200)
committerJeremy Kuhne <jkuhne@microsoft.com>
Sat, 4 May 2019 02:50:13 +0000 (19:50 -0700)
commitfb6763a1c4e512c4bccd2303520bd55e815ffd51
treef4c45e3b00ef3be4f6159b91d23973f2e1ef8db4
parented4b5eeba1d854211b94bd20ed26ee87d1791eb3
Changed File.Copy to throw if destination is a directory on macOS (dotnet/corefx#36713) (dotnet/corefx#37428)

Commit migrated from https://github.com/dotnet/corefx/commit/e21c2b5af100dc5d70ef1777f5de21d0d5a96210
src/libraries/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs
src/libraries/System.IO.FileSystem/tests/File/Copy.cs