[Mono-dev] [PATCH] assembly name fixes for AssemblyName and runtime

Gert Driesen gert.driesen at telenet.be
Mon Dec 31 11:07:06 EST 2007


Hi,

The attached patches fix some issue in self-constructed AssemblyName
instances, and more importantly it fixes the FullName and
GetPublicKey(Token) of AssemblyName instances returned for
AssemblyBuilders and "baked" assemblies.

For baked assemblies, AssemblyName.FullName did not contain the
PublicKeyToken=null spec for non-signed assemblies, like MS does. Fixing
this involved changes in both corlib and the runtime.

In the runtime we were also not reporting a failure for an assembly name
containing a Version, Culture or PublicKeyToken spec without an actual
value. Fixing this allows us to enable several tests that were
previously failing.

More details are available in the changelog for each patch.

Are these to ok to commit?

Gert

PS. Don't let the size of the corlib patch scare you; most of it are
new/updated unit tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug315057-corlib.patch
Type: text/x-patch
Size: 61825 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071231/e18d50a3/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug315057-runtime.patch
Type: text/x-patch
Size: 5833 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071231/e18d50a3/attachment-0001.bin 


More information about the Mono-devel-list mailing list