[Mono-dev] [patch] AssemblyQualifiedName of byref types

Jb Evain jb at nurv.fr
Thu Aug 23 12:31:15 EDT 2007


Hey,

Here's a patch to correct the AssemblyQualifiedNames for byref types.

Without that patch,

Type.GetType ("System.Byte[]&").AssemblyQualifiedName

returns

System.Byte[], mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089&

With the patch it's:

System.Byte[]&, mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089

Which is the form Type.GetType(string) accepts.

It also comes with some tests.

-- 
Jb Evain  <jb at nurv.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.patch
Type: text/x-patch
Size: 2244 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070823/02a26729/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.patch
Type: text/x-patch
Size: 746 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070823/02a26729/attachment-0001.bin 


More information about the Mono-devel-list mailing list