[Mono-bugs] [Bug 60439][Nor] Changed - [PATCH] mcs does not emit assembly qualified type name for types used in attributes
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 22 Jun 2004 08:59:41 -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 sebastien@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=60439
--- shadow/60439 2004-06-21 16:33:04.000000000 -0400
+++ shadow/60439.tmp.20242 2004-06-22 08:59:41.000000000 -0400
@@ -11,13 +11,13 @@
AssignedTo: sebastien@ximian.com
ReportedBy: gert.driesen@pandora.be
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: mcs does not emit assembly qualified type name for types used in attributes
+Summary: [PATCH] mcs does not emit assembly qualified type name for types used in attributes
mcs does not seem to emit the right assembly qualifed name of a type
that's used in an assembly. Apparently the publickeytoken is always null.
compile the following code (with /r:System.Drawing.dll) :
@@ -200,6 +200,12 @@
4. str = type_get_qualified_name (((MonoReflectionType*)arg)->type, NULL);
The runtime is able to find the MonoType internal informations (i.e.
it's real type). The resulting string has the right class name,
assembly name and version but doesn't have a public key token (so null
is used).
+
+------- Additional Comments From sebastien@ximian.com 2004-06-22 08:59 -------
+Added patch for problem #2 (assembly.diff).
+
+The public key was loaded in mono_assembly_fill_assembly_name but the
+public key token wasn't created (so was unavailable later).