[Mono-bugs] [Bug 50753][Min] Changed - System.IO.Directory.CreateDirectory() does not throws an exception
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 14 Nov 2003 02:10:18 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by projects@saring.de.
http://bugzilla.ximian.com/show_bug.cgi?id=50753
--- shadow/50753 2003-11-14 01:11:04.000000000 -0500
+++ shadow/50753.tmp.6935 2003-11-14 02:10:18.000000000 -0500
@@ -25,6 +25,19 @@
------- Additional Comments From rkumar@novell.com 2003-11-14 01:11 -------
I did some investigation on this issue. I too found that .NET 1.1 and
Mono are behaving in same way. But, .NET 1.0 throws IOException when
you create a directory with a name by which a file already exists.
So, it depends on which version of .NET is correct.
+
+------- Additional Comments From projects@saring.de 2003-11-14 02:10 -------
+OK, there are 2 possibilities:
+
+1. This issue could get fixed.
+2. Let things as they are and stay .NET 1.1 compatible,
+
+IMO it would be best, when this problem get's fixed. Whenever a method
+doesn't do what it has to do, it needs to inform the caller in some
+way, in this case throw an IOException.
+
+But i would understand too, if you prefer the second solution. So
+closing this bug would be OK for me too...