importing messaging-2008 branch to trunk [continued]
[mono.git] / mcs / class / System.Data / System.Data / XmlReadMode.cs
index 5130e7e70769fa848da68f757ef07eefde33c8d7..30a14a1aadfe7ee6e438c84faf327d633359e0d8 100644 (file)
@@ -37,7 +37,9 @@ namespace System.Data
        /// <summary>
        /// Specifies how to read XML data and a relational schema into a DataSet.
        /// </summary>
+#if !NET_2_0
        [Serializable]
+#endif
        public enum XmlReadMode
        {
                Auto = 0,
@@ -45,6 +47,9 @@ namespace System.Data
                IgnoreSchema = 2,
                InferSchema = 3,
                DiffGram = 4,
-               Fragment = 5
+#if NET_2_0
+               InferTypedSchema=6,
+#endif
+               Fragment =5
        }
-}
\ No newline at end of file
+}