[Mono-bugs] [Bug 31730][Nor] New - Assembly.Location weidrness

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
4 Oct 2002 03:39:24 -0000


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=31730

--- shadow/31730	Thu Oct  3 23:39:24 2002
+++ shadow/31730.tmp.8510	Thu Oct  3 23:39:24 2002
@@ -0,0 +1,44 @@
+Bug#: 31730
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Assembly.Location weidrness
+
+Description of Problem:
+Assembly.Location mixes / and \ characters at least for corlib.
+
+
+Steps to reproduce the problem:
+1. compile and run on windows
+using System;
+using System.Reflection;
+
+class C
+{
+        static void Main ()
+        {
+                Assembly a = typeof (string).Assembly;
+                Console.WriteLine (a.Location);
+        }
+}
+
+Actual Results:
+C:\cygwin\home\lalo\go-mono\install\bin/../lib\corlib.dll
+
+Expected Results:
+C:\cygwin\home\lalo\go-mono\install\lib\corlib.dll
+
+Additional Information:
+This makes Path.* methods not to work properly when handling this path.