Author: atsushi
Date: 2007-05-28 10:34:26 -0400 (Mon, 28 May 2007)
New Revision: 78061
Modified:
trunk/mcs/class/corlib/System.Resources/ChangeLog
trunk/mcs/class/corlib/System.Resources/ResourceWriter.cs
Log:
2007-05-28 Atsushi Enomoto <[EMAIL PROTECTED]>
* ResourceWriter.cs : temporarily disable 2.0 output until I get
bug #81759 fixed.
Modified: trunk/mcs/class/corlib/System.Resources/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Resources/ChangeLog 2007-05-28 14:25:13 UTC
(rev 78060)
+++ trunk/mcs/class/corlib/System.Resources/ChangeLog 2007-05-28 14:34:26 UTC
(rev 78061)
@@ -1,5 +1,10 @@
2007-05-28 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * ResourceWriter.cs : temporarily disable 2.0 output until I get
+ bug #81759 fixed.
+
+2007-05-28 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* IResourceWriter.cs NeutralResourcesLanguageAttribute.cs
SatelliteContractVersionAttribute.cs ResourceManager.cs
IResourceReader.cs ResourceSet.cs ResourceWriter.cs
Modified: trunk/mcs/class/corlib/System.Resources/ResourceWriter.cs
===================================================================
--- trunk/mcs/class/corlib/System.Resources/ResourceWriter.cs 2007-05-28
14:25:13 UTC (rev 78060)
+++ trunk/mcs/class/corlib/System.Resources/ResourceWriter.cs 2007-05-28
14:34:26 UTC (rev 78061)
@@ -56,7 +56,7 @@
}
}
-#if NET_2_0
+#if NET_2_0_temporarily_disabled
SortedList resources = new SortedList (StringComparer.Ordinal);
#else
Hashtable resources = new
Hashtable(CaseInsensitiveHashCodeProvider.Default,
CaseInsensitiveComparer.Default);
@@ -155,7 +155,7 @@
stream=null;
}
-#if NET_2_0
+#if NET_2_0_temporarily_disabled
public void AddResourceData (string name, string typeName, byte
[] serializedData)
{
if (name == null)
@@ -202,7 +202,7 @@
Encoding.UTF8);
resman.Write(typeof(ResourceReader).AssemblyQualifiedName);
-#if NET_2_0
+#if NET_2_0_temporarily_disabled
resman.Write(typeof(ResourceSet).FullName);
#else
resman.Write(typeof(ResourceSet).AssemblyQualifiedName);
@@ -261,7 +261,7 @@
object typeObj = tbn != null ? (object)
tbn.TypeName : type;
/* Keep a list of unique types */
-#if NET_2_0
+#if NET_2_0_temporarily_disabled
// do not output predefined ones.
switch (type != null ? Type.GetTypeCode (type)
: TypeCode.Empty) {
case TypeCode.Decimal:
@@ -302,7 +302,7 @@
/* Strangely, Char is serialized
* rather than just written out
*/
-#if NET_2_0
+#if NET_2_0_temporarily_disabled
if (tbn != null)
res_data.Write((byte []) tbn.Value);
else if (type==typeof(Byte)) {
@@ -410,7 +410,7 @@
/* now do the ResourceReader header */
-#if NET_2_0
+#if NET_2_0_temporarily_disabled
writer.Write(2);
#else
writer.Write(1);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches