[Mono-list] Possible bug checking existence of file or directory
Abe Gillespie
abe.gillespie at gmail.com
Thu Nov 4 22:15:53 EDT 2010
If this is a bug I'll file it:
Doing File.Exists() or Directory.Exists() on a file / dir that the
running account doesn't have permission to causes this to return
false. This is somewhat understandable (but is it correct?).
However, doing a new FileSystemWatcher() on the same existing, but not
accessible dir, throws a DirectoryNotFoundException(). This seems a
little less understandable. But I'm not sure.
-Abe
More information about the Mono-list
mailing list