[Mono-list] File IO, wrong exception

Nick Drochak ndrochak@gol.com
Fri, 10 May 2002 15:45:39 +0900


RxDan,

In this case:
StreamReader r = new StreamReader("nonexistentdir/file", false);

We should get a DirectoryNotFoundException, but file IO is throwing a
FileNotFoundException.

Since this is your bailiwick, I thought I'd let you tackle this one.

If you prefer bugzilla reports for these things, let me know.  I'll do that
instead next time.

Thanks,
Nick D.