On 11/05/2010 03:15 AM, Abe Gillespie wrote:
 > 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.

You forgot to specify your expected results.
If you ask me about the above examples, I would expect the actual results.

-- 
Piotr Wysocki
Mobile Systems Research Labs, Poznan University of Technology
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to