Make some S.X.S types compatible with the SL API (for SDK)
[mono.git] / mcs / class / System.XML / System.Xml.Serialization / XmlSerializerImplementation.cs
index 734c7941476dd2d8012bdf6708f2f9ea9599f843..afeed412c78af5c272f9a10cb7640ee39ca45aff 100644 (file)
@@ -44,6 +44,17 @@ namespace System.Xml.Serialization
                public virtual XmlSerializationReader Reader {
                        get { throw new NotSupportedException (); }
                }
+#if MOONLIGHT
+               public virtual IDictionary ReadMethods {
+                       get { throw new NotSupportedException (); }
+               }
+               public virtual IDictionary TypedSerializers {
+                       get { throw new NotSupportedException (); }
+               }
+               public virtual IDictionary WriteMethods {
+                       get { throw new NotSupportedException (); }
+               }
+#else
                public virtual Hashtable ReadMethods {
                        get { throw new NotSupportedException (); }
                }
@@ -53,6 +64,7 @@ namespace System.Xml.Serialization
                public virtual Hashtable WriteMethods {
                        get { throw new NotSupportedException (); }
                }
+#endif
                public virtual XmlSerializationWriter Writer {
                        get { throw new NotSupportedException (); }
                }