Просмотр исходного кода

2002-11-13 Duncan Mak <[email protected]>

	* XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
	compiling.

svn path=/trunk/mcs/; revision=8977
Duncan Mak 23 лет назад
Родитель
Сommit
48455fcb1c

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

@@ -1,3 +1,8 @@
+2002-11-13  Duncan Mak  <[email protected]>
+
+	* XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
+	compiling.
+
 2002-11-14  Atsushi Enomoto <[email protected]>
 
 	* XmlDocument.cs : unified all constructors, added ConventionalParser,

+ 4 - 3
mcs/class/System.XML/System.Xml/XmlElement.cs

@@ -22,6 +22,7 @@ namespace System.Xml
 		private string localName;
 		private string namespaceURI;
 		private string prefix;
+		private bool isEmpty;
 
 		#endregion
 
@@ -95,11 +96,11 @@ namespace System.Xml
 			}
 		}
 
-		[MonoTODO]
+		[MonoTODO ("This is only a temporary fix, remove ASAP!")]
 		public bool IsEmpty {
-			get { throw new NotImplementedException (); }
+			get { return isEmpty; }
 
-			set { throw new NotImplementedException (); }
+			set { isEmpty = value; }
 		}
 
 		public override string LocalName {