ソースを参照

2004-07-13 Atsushi Enomoto <[email protected]>

	* XmlNodeChageType.cs, XmlChangeFilters.cs : fixed enum values.
	* XPathResultType.cs : marked [MonoFIX] on .Navigator.

svn path=/trunk/mcs/; revision=31093
Atsushi Eno 21 年 前
コミット
4565e2ec31

+ 5 - 0
mcs/class/System.XML/System.Xml.XPath/ChangeLog

@@ -1,3 +1,8 @@
+2004-07-13  Atsushi Enomoto  <[email protected]>
+
+	* XmlNodeChageType.cs, XmlChangeFilters.cs : fixed enum values.
+	* XPathResultType.cs : marked [MonoFIX] on .Navigator.
+
 2004-07-11  Atsushi Enomoto  <[email protected]>
 
 	* Expression.cs, Iterator.cs, XPathNavigator.cs :

+ 4 - 0
mcs/class/System.XML/System.Xml.XPath/XPathResultType.cs

@@ -30,12 +30,16 @@
 
 namespace System.Xml.XPath
 {
+#if NET_2_0
+	[Serializable]
+#endif
 	public enum XPathResultType
 	{
 		Number = 0,
 		String = 1,
 		Boolean = 2,
 		NodeSet = 3,
+		[MonoFIX ("MS.NET: 1")]
 		Navigator = 4,
 		Any = 5,
 		Error = 6,

+ 6 - 4
mcs/class/System.XML/System.Xml.XPath/XmlChangeFilters.cs

@@ -29,12 +29,14 @@
 
 namespace System.Xml.XPath
 {
+	[Flags]
+	[Serializable]
 	public enum XmlChangeFilters
 	{
-		Updated,
-		Inserted,
-		Deleted,
-		AllChanges
+		Inserted = 1,
+		Deleted = 2,
+		Updated = 4,
+		AllChanges = 7
 	}
 }
 #endif

+ 5 - 4
mcs/class/System.XML/System.Xml.XPath/XmlNodeChangeType.cs

@@ -29,12 +29,13 @@
 
 namespace System.Xml.XPath
 {
+	[Serializable]
 	public enum XmlNodeChangeType
 	{
-		Updated,
-		Inserted,
-		Deleted,
-		Unchanged
+		Updated = 1,
+		Inserted = 2,
+		Deleted = 4,
+		Unchanged = 8
 	}
 }
 #endif