[Mono-bugs] [Bug 49611][Wis] New - compiled corlib includes an AssemblyRef to itself and two TypeRefs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 13 Oct 2003 13:15:11 -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 jackson@ximian.com.

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

--- shadow/49611	2003-10-13 13:15:11.000000000 -0400
+++ shadow/49611.tmp.3602	2003-10-13 13:15:11.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 49611
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jackson@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: compiled corlib includes an AssemblyRef to itself and two TypeRefs
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When corlib is compiled System.Single and System.Double are included as
+TypeRefs referencing a corlib AssemblyRef. 
+
+
+
+Steps to reproduce the problem:
+1. Compile corlib
+2. run monodis --assemblyref corlib.dll
+       monodis --typeref corlib.dll
+3. 
+
+Actual Results:
+AssemblyRef Table
+1: Version=1.0.5000.0
+        Name=mscorlib
+        Zero sized public key
+
+Typeref Table
+1: [mscorlib]System.Double
+2: [mscorlib]System.Single
+
+Expected Results:
+Nothing
+
+
+Additional Information:
+Very priliminary debugging showed that in mono_image_typedef_or_ref
+klass->image was not equal to assembly->assembly.image.