[Mono-bugs] [Bug 33198][Nor] New - Assembly.GetEntryAssembly fails assertion

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
3 Nov 2002 04:16:37 -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=33198

--- shadow/33198	Sat Nov  2 23:16:37 2002
+++ shadow/33198.tmp.23301	Sat Nov  2 23:16:37 2002
@@ -0,0 +1,35 @@
+Bug#: 33198
+Product: Mono/Runtime
+Version: unspecified
+OS: All
+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.GetEntryAssembly fails assertion
+
+using System.Reflection;
+
+class C
+{
+     static void Main ()
+     {
+          Assembly.GetEntryAssembly ();
+     }
+}
+
+....assertion failed (assembly) in appdomain.c: line xxx
+
+Additional information:
+
+I run into this when implementing
+ves_icall_System_AppDomainSetup_InitAppDomainSetup (i need to get the entry
+assembly to set ApplicationBase and ConfigFile).