New test.
[mono.git] / mcs / class / I18N / West / CP10079.cs
index 83629c6e4320e41ef57481f72ab7a02b1dfccd18..e15895df8211521a49f50bf33b7621f89f76e13b 100644 (file)
@@ -31,6 +31,7 @@ using System;
 using System.Text;
 using I18N.Common;
 
+[Serializable]
 public class CP10079 : ByteEncoding
 {
        public CP10079()
@@ -233,8 +234,7 @@ public class CP10079 : ByteEncoding
 #if NET_2_0
                                        HandleFallback (ref buffer, chars, ref charIndex, ref charCount, bytes, ref byteIndex, ref byteCount);
 #else
-throw new Exception (String.Format ("Not expected character {0:X04}", (int) ch));
-//                                     ch = 0x3F;
+                                       ch = 0x3F;
 #endif
                                        break;
                        }
@@ -391,6 +391,7 @@ throw new Exception (String.Format ("Not expected character {0:X04}", (int) ch))
 
 }; // class CP10079
 
+[Serializable]
 public class ENCx_mac_icelandic : CP10079
 {
        public ENCx_mac_icelandic() : base() {}