Author: pbartok
Date: 2005-12-05 23:11:14 -0500 (Mon, 05 Dec 2005)
New Revision: 53966
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Resources/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Resources/ResXResourceReader.cs
Log:
2005-12-05 Peter Bartok <[EMAIL PROTECTED]>
* ResXResourceReader.cs: Removed previous patch. More than just Byte[]
has that mime type and the patch was causing things to fail.
Since our writer no longer emits the mimetype this should be fine.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Resources/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Resources/ChangeLog
2005-12-06 03:54:58 UTC (rev 53965)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Resources/ChangeLog
2005-12-06 04:11:14 UTC (rev 53966)
@@ -1,3 +1,9 @@
+2005-12-05 Peter Bartok <[EMAIL PROTECTED]>
+
+ * ResXResourceReader.cs: Removed previous patch. More than just Byte[]
+ has that mime type and the patch was causing things to fail.
+ Since our writer no longer emits the mimetype this should be fine.
+
2005-12-01 Robert Jordan <[EMAIL PROTECTED]>
* ResXResourceReader.cs: Handle
mimetype="application/x-microsoft.net.object.bytearray.base64" correctly. Fixes
the decoding of System.Byte[].
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Resources/ResXResourceReader.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Resources/ResXResourceReader.cs
2005-12-06 03:54:58 UTC (rev 53965)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Resources/ResXResourceReader.cs
2005-12-06 04:11:14 UTC (rev 53966)
@@ -200,7 +200,7 @@
object v = null;
string val = get_value (reader,
"value");
- if (mt != null && tt != null &&
mt != ResXResourceWriter.ByteArraySerializedObjectMimeType) {
+ if (mt != null && tt != null) {
TypeConverter c =
TypeDescriptor.GetConverter (tt);
v = c.ConvertFrom
(Convert.FromBase64String (val));
} else if (tt != null) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches