[Mono-bugs] [Bug 80225][Nor] Changed - AssemblyName.GetPublicKey() should not return null

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 12 05:48:56 EST 2006


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 knocte at gmail.com.

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

--- shadow/80225	2006-12-12 05:46:36.000000000 -0500
+++ shadow/80225.tmp.4366	2006-12-12 05:48:56.000000000 -0500
@@ -92,6 +92,23 @@
 I will attach a simple testcase.
 
 ------- Additional Comments From knocte at gmail.com  2006-12-12 05:46 -------
 Created an attachment (id=18279)
 Testcase
 
+
+------- Additional Comments From knocte at gmail.com  2006-12-12 05:48 -------
+Executing this testcase I obtain:
+
+In MS.NET (1.1 and 2.0 profile):
+
+typeof(Program).Assembly.GetName().GetPublicKey():
+it's not null, length: 0
+typeof(System.Int32).Assembly.GetName().GetPublicKey():
+it's not null, length: 16
+
+In Mono (1.1 and 2.0 profile):
+
+typeof(Program).Assembly.GetName().GetPublicKey():
+it is null
+typeof(System.Int32).Assembly.GetName().GetPublicKey():
+it's not null, length: 16


More information about the mono-bugs mailing list