alphaleonis / AlphaFS

AlphaFS is a .NET library providing more complete Win32 file system functionality to the .NET platform than the standard System.IO classes.
http://alphafs.alphaleonis.com/
MIT License
558 stars 99 forks source link

Directory.Delete on a file should throw IOException instead of DirectoryNotFoundException. #491

Open Yomodo opened 5 years ago

Yomodo commented 5 years ago

To keep the behaviour the same as .NET, an IOException should be thrown.