* OdbcParameterTest.cs: Fixed compilation on 1.0 profile.
[mono.git] / mcs / class / System.Data / System.Data.SqlTypes / SqlXml.cs
index 0d887f6eed8dc3ad107c2de77475fabb8b7d4a6f..0a666adcf352310215c272e415f2ad9eaa66ee8e 100644 (file)
@@ -39,6 +39,7 @@ using System.Xml.Serialization;
 namespace System.Data.SqlTypes
 {
        [SerializableAttribute]
+       [XmlSchemaProvider ("GetXsdType")]
        public sealed class SqlXml : INullable, IXmlSerializable
        {
                bool notNull;
@@ -69,22 +70,28 @@ namespace System.Data.SqlTypes
                        }
                }
 
-                public bool IsNull {
-                        get { return !notNull; }
-                }
+               public bool IsNull {
+                       get { return !notNull; }
+               }
 
-                public static SqlXml Null {
-                        get {
+               public static SqlXml Null {
+                       get {
                                return new SqlXml ();
                        }
-                }
+               }
 
                public static XmlQualifiedName GetXsdType (XmlSchemaSet schemaSet)
                {
                        XmlQualifiedName qualifiedName = new XmlQualifiedName ("anyType", "http://www.w3.org/2001/XMLSchema");
                        return qualifiedName;
                }
-               
+
+               [MonoNotSupported("")]
+               public XmlReader CreateReader ()
+               {
+                       throw new NotImplementedException ();
+               }
+
                [MonoTODO]
                XmlSchema IXmlSerializable.GetSchema ()
                {
@@ -92,7 +99,7 @@ namespace System.Data.SqlTypes
                }
                
                [MonoTODO]
-               void IXmlSerializable.ReadXml (XmlReader reader)
+               void IXmlSerializable.ReadXml (XmlReader r)
                {
                        throw new NotImplementedException ();
                }