[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 03:26:56 -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 gonzalo@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=50753

--- shadow/50753	2003-11-14 02:10:18.000000000 -0500
+++ shadow/50753.tmp.7228	2003-11-14 03:26:56.000000000 -0500
@@ -38,6 +38,16 @@
 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...
+
+------- Additional Comments From gonzalo@ximian.com  2003-11-14 03:26 -------
+You can use:
+#if NET_1_0
+blah....
+#else
+bleh
+#endif
+
+and make the 1.0 code throw the exception.