[Mono-bugs] [Bug 58120][Min] New - AppDomain.SetupInformation.DynamicBase throws
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 6 May 2004 06:37:24 -0400 (EDT)
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=58120
--- shadow/58120 2004-05-06 06:37:24.000000000 -0400
+++ shadow/58120.tmp.7815 2004-05-06 06:37:24.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 58120
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gonzalo@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: AppDomain.SetupInformation.DynamicBase throws
+
+compile and run:
+using System;
+ -----
+class Test
+{
+ static void Main ()
+ {
+ AppDomain domain = AppDomain.CreateDomain ("noname");
+ Console.WriteLine
+(AppDomain.CurrentDomain.SetupInformation.DynamicBase);
+ }
+}
+---------
+
+Actual results:
+Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
+Parameter name: path2
+in [0x00021] (at
+/home/gonzalo/go-mono/mcs/class/corlib/System.IO/Path.cs:78)
+System.IO.Path:Combine (string,string)
+in [0x00039] (at
+/home/gonzalo/go-mono/mcs/class/corlib/System/AppDomainSetup.cs:114)
+System.AppDomainSetup:get_DynamicBase ()
+in [0x00015] (at /tmp/dbbug.cs:10) Test:Main ()
+
+Expected results:
+a temp directory.