Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiers Haken <piers@mono-cvs.ximian.com>2002-10-27 02:06:29 +0300
committerPiers Haken <piers@mono-cvs.ximian.com>2002-10-27 02:06:29 +0300
commit04d50fc4455e066f046cc769eca18589a304b431 (patch)
tree7b19b1b7ed291e173d7659e1e5beda3a40df8842 /mcs/class/System.XML/System.Xml/XmlAttribute.cs
parent3cac85224b19eb93a2ff9be2e43c3873fcf7405e (diff)
2002-10-26 Piers Haken <piersh@friskit.com>
* XmlNode.cs: add virtual property XPathNodeType * XmlAttribute.cs: * XmlComment.cs: * XmlDocument.cs: * XmlElement.cs:: * XmlProcessingInstruction.cs: * XmlSignificantWhitespace.cs: * XmlText.cs: * XmlWhitespace.cs: implement XPathNodeType property * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch svn path=/trunk/mcs/; revision=8585
Diffstat (limited to 'mcs/class/System.XML/System.Xml/XmlAttribute.cs')
-rw-r--r--mcs/class/System.XML/System.Xml/XmlAttribute.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlAttribute.cs b/mcs/class/System.XML/System.Xml/XmlAttribute.cs
index 56e8658f4d5..efd3f928c82 100644
--- a/mcs/class/System.XML/System.Xml/XmlAttribute.cs
+++ b/mcs/class/System.XML/System.Xml/XmlAttribute.cs
@@ -9,6 +9,7 @@
using System;
using System.Text;
+using System.Xml.XPath;
namespace System.Xml
{
@@ -107,6 +108,12 @@ namespace System.Xml
}
}
+ internal override XPathNodeType XPathNodeType {
+ get {
+ return XPathNodeType.Attribute;
+ }
+ }
+
public override XmlDocument OwnerDocument {
get {
return base.OwnerDocument;