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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 4 04:54:57 EDT 2007

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 lupus at ximian.com.


--- shadow/80225	2006-12-12 08:20:17.000000000 -0500
+++ shadow/80225.tmp.13890	2007-07-04 04:54:57.000000000 -0400
@@ -145,6 +145,11 @@
 property is present in the fullname. 
 When the AssemblyName is constructed as standalone it's left out, 
 same as  the behavior of the other components that make up the 
 But from the comment above this seems to vary as well. :( The 
 PublicKeyToken part of the Fullname however seems to be consistent.
+------- Additional Comments From lupus at ximian.com  2007-07-04 04:54 -------
+There aren't that many calls where we call GetPublicKey(): we should
+check them for null checks and make sure we also check for Length == 0.
+Also, GetPublicKeyToken() has likely similar issues.

More information about the mono-bugs mailing list