[Mono-devel-list] [PATCH] Fix Resources generation

kangaroo grompf at sublimeintervention.com
Sat Feb 12 18:20:53 EST 2005


The attached patch fixes a couple issues with resgen on mono.

There are two seperate issues:

First in a .resx file Microsoft defines a type
System.Resources.ResXNullRef which causes the name to be encoded in the
output .resources file with a null value.  They do this by specifying
the typeindex as -1 and returning null if the resource is requested.
This patch implements this behaviour.

Additionally the Charconverter can take a 0 length string and will
return 0x00.  This patch implements this behaviour.

This patch affects System.dll and corlib and MWF.  The MWF part is
already approved by pdb but I need some approval for the rest.

ok to commit?

-kangaroo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 6440 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050212/4cdd3ac3/attachment.bin 


More information about the Mono-devel-list mailing list