Trivial API additions.
authorMartin Baulig <martin.baulig@xamarin.com>
Tue, 12 Mar 2013 20:40:04 +0000 (16:40 -0400)
committerMartin Baulig <martin.baulig@xamarin.com>
Tue, 12 Mar 2013 21:22:59 +0000 (17:22 -0400)
mcs/class/System.XML/System.Xml.Serialization/XmlSerializer.cs
mcs/class/System.XML/System.Xml/XmlWriterSettings.cs

index aee785818630027d795b61db1cde43f2d327a68c..719d23e98b49905e5014bb4e667d42558d433df9 100644 (file)
@@ -491,8 +491,6 @@ namespace System.Xml.Serialization
                        }
                }
                
-#if !NET_2_1
-               
                [MonoTODO]
                public object Deserialize (XmlReader xmlReader, string encodingStyle, XmlDeserializationEvents events)
                {
@@ -567,7 +565,6 @@ namespace System.Xml.Serialization
                {
                        throw new NotImplementedException ();
                }
-#endif
                
                XmlSerializationWriter CreateWriter (XmlMapping typeMapping)
                {
index ccfaadfd2889119bbc404acabfe0f29c150774cc..df70d702cd9b2a61b79d673a74dacb534de75f9a 100644 (file)
@@ -192,6 +192,12 @@ namespace System.Xml
                                isAsync = value;
                        }
                }
+               
+               [MonoTODO]
+               public bool WriteEndDocumentOnClose {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
 #endif
 
        }