X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FI18N%2FOther%2FCP874.cs;h=1f08062fbb4c9023b705f4d0a2574e09c95804cf;hb=2392c6a50d5640aefa3c0f9e68fb261b4f06076e;hp=410f9e8975342341e4e837e0f5f01221aa458926;hpb=8b310778d0799dab9e8df7372c8f262c94628861;p=mono.git diff --git a/mcs/class/I18N/Other/CP874.cs b/mcs/class/I18N/Other/CP874.cs index 410f9e89753..1f08062fbb4 100644 --- a/mcs/class/I18N/Other/CP874.cs +++ b/mcs/class/I18N/Other/CP874.cs @@ -31,6 +31,7 @@ using System; using System.Text; using I18N.Common; +[Serializable] public class CP874 : ByteEncoding { public CP874() @@ -303,7 +304,7 @@ public class CP874 : ByteEncoding ch -= 0xFEE0; else #if NET_2_0 - HandleFallback (ref buffer, chars, ref charIndex, ref charCount, bytes, ref byteIndex, ref byteCount); + HandleFallback (ref buffer, chars, ref charIndex, ref charCount, bytes, ref byteIndex, ref byteCount); #else ch = 0x3F; #endif @@ -541,6 +542,7 @@ public class CP874 : ByteEncoding }; // class CP874 +[Serializable] public class ENCwindows_874 : CP874 { public ENCwindows_874() : base() {}