Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

2005-12-14 Atsushi Enomoto <atsushi@ximian.com>

	Added UnderlyingObject support.


svn path=/trunk/mcs/; revision=54353
  • Loading branch information...
commit 260014cbd309760c06d1e17b88e28285d80b6b1d 1 parent 5392ed3
@atsushieno atsushieno authored
View
4 mcs/class/System.XML/Mono.Xml.XPath/ChangeLog
@@ -1,5 +1,9 @@
2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
+ * XPathEditableDocument.cs : added UnderlyingObject.
+
+2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
+
* XPathEditableDocument.cs : added 2.0 SchemaInfo.
2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
View
4 mcs/class/System.XML/Mono.Xml.XPath/XPathEditableDocument.cs
@@ -483,6 +483,10 @@ public XmlDocumentEditableNavigator (XmlDocumentEditableNavigator nav)
get { return navigator.SchemaInfo; }
}
+ public override object UnderlyingObject {
+ get { return navigator.UnderlyingObject; }
+ }
+
public override string Value {
get { return navigator.Value; }
}
View
4 mcs/class/System.XML/System.Xml.XPath/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
+
+ * XPathNavigator.cs : UnderlyingObject returns null by default.
+
2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs : Reimplemented MoveToFollowing() to avoid
View
4 mcs/class/System.XML/System.Xml.XPath/XPathNavigator.cs
@@ -903,7 +903,6 @@ public virtual void WriteSubtree (XmlWriter writer)
}
}
- [MonoTODO]
public override bool IsNode {
get { return true; }
}
@@ -955,9 +954,8 @@ public virtual void WriteSubtree (XmlWriter writer)
}
}
- [MonoTODO]
public virtual object UnderlyingObject {
- get { throw new NotImplementedException (); }
+ get { return null; }
}
public override bool ValueAsBoolean {
View
5 mcs/class/System.XML/System.Xml/ChangeLog
@@ -1,5 +1,10 @@
2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
+ * XmlDocumentNavigator.cs : added UnderlyingObject as to behave as
+ documented in MSDN.
+
+2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
+
* XmlNode.cs : under 2.0 xml/xmlns are treated as special cases in
GetNamespaceOfPrefix()/GetPrefixOfNamespace() (but it still does not
implement IXmlNamespaceResolver, bummer).
View
4 mcs/class/System.XML/System.Xml/XmlDocumentNavigator.cs
@@ -219,6 +219,10 @@ private XmlDocumentNavigator (XmlNode node, XmlAttribute nsNodeXml)
public override IXmlSchemaInfo SchemaInfo {
get { return NsNode != null ? null : node.SchemaInfo; }
}
+
+ public override object UnderlyingObject {
+ get { return node; }
+ }
#endif
public override string Value {
Please sign in to comment.
Something went wrong with that request. Please try again.