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 [EMAIL PROTECTED]

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

--- shadow/78857        2006-07-14 10:02:41.000000000 -0400
+++ shadow/78857.tmp.3044       2006-07-14 10:02:41.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 78857
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 001 One hour
+Priority: Normal
+Component: CORLIB
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Reflection.Emit.ModuleBuilder.DefineType misbehavior when 
parent is null
+
+Description of Problem:
+Passing null to ModuleBuilder.DefineType results in generating invalid
+metadata.
+
+Steps to reproduce the problem:
+1. Define a class using ModuleBuilder.DefineType and pass a null parent.
+2. Persist the assembly and run it.
+
+Actual Results:
+The runtime crashes due to invalid metadata.
+
+Expected Results:
+For classes, null parent is equivalent to System.Object (as in CLR).
+
+How often does this happen? 
+Always.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to