Forráskód Böngészése

2004-05-30 Atsushi Enomoto <[email protected]>

	* XmlTextReader.cs : Fixed version mismatch; ProhibitDtd should be
	  NET_2_0.

svn path=/trunk/mcs/; revision=28468
Atsushi Eno 21 éve
szülő
commit
4fc67d1a14

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

@@ -1,3 +1,8 @@
+2004-05-30  Atsushi Enomoto <[email protected]>
+
+	* XmlTextReader.cs : Fixed version mismatch; ProhibitDtd should be
+	  NET_2_0.
+
 2004-05-29  Gert Driesen ([email protected])
 	
 	* XmlTextReader.cs: Added ProhibitDtd property for NET 1.1 to match

+ 2 - 2
mcs/class/System.XML/System.Xml/XmlTextReader.cs

@@ -252,7 +252,7 @@ namespace System.Xml
 			get { return cursorToken.Prefix; }
 		}
 
-#if NET_1_1
+#if NET_2_0
 
 		[MonoTODO ("Not documented in .NET SDK")]
 		public bool ProhibitDtd {
@@ -955,7 +955,7 @@ namespace System.Xml
 		private WhitespaceHandling whitespaceHandling = WhitespaceHandling.All;
 		private XmlResolver resolver = new XmlUrlResolver ();
 		private bool normalization = false;
-#if NET_1_1
+#if NET_2_0
 		private bool prohibitDtd = false;
 #endif