[Mono-bugs] [Bug 74290][Wis] New - DirectoryInfo.GetDirectories () fails when a subdirectory starts with "\\"
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 31 Mar 2005 17:56:54 -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 dsd@gentoo.org.
http://bugzilla.ximian.com/show_bug.cgi?id=74290
--- shadow/74290 2005-03-31 17:56:54.000000000 -0500
+++ shadow/74290.tmp.27626 2005-03-31 17:56:54.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 74290
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: dsd@gentoo.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DirectoryInfo.GetDirectories () fails when a subdirectory starts with "\\"
+
+If you create a DirectoryInfo object on a directory ("info"), which
+contains a subdirectory starting with characters "\\" then you will get the
+following exception when you run info.GetDirectories();
+
+Unhandled Exception: System.ArgumentException: UNC pass should be of the
+form \\server\share.
+in <0x001a3> System.IO.Path:GetFullPath (System.String path)
+in <0x00028> System.IO.DirectoryInfo:.ctor (System.String path)
+in (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:.ctor (string)
+in <0x00095> System.IO.DirectoryInfo:GetDirectories (System.String pattern)
+in (wrapper remoting-invoke-with-check)
+System.IO.DirectoryInfo:GetDirectories (string)
+in <0x00012> System.IO.DirectoryInfo:GetDirectories ()
+in (wrapper remoting-invoke-with-check)
+System.IO.DirectoryInfo:GetDirectories ()
+in <0x0003b> Test:Main (System.String[] args)