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-07-12 14:52:08 +0400
committerPiers Haken <piers@mono-cvs.ximian.com>2002-07-12 14:52:08 +0400
commitc004fb18995530e4b6d221e0024fc78724b5063b (patch)
tree5e54805899aabde16a80fca5c06610421602e476 /mcs/class/System.XML/System.Xml/XmlAttributeCollection.cs
parenta8815fd72c9cdd892aa9785662393d5eb4c24925 (diff)
2002-07-12 Piers Haken <piersh@friksit.com>
* XmlAttributeCollection.cs: implement some ItemOf indexers * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null svn path=/trunk/mcs/; revision=5722
Diffstat (limited to 'mcs/class/System.XML/System.Xml/XmlAttributeCollection.cs')
-rw-r--r--mcs/class/System.XML/System.Xml/XmlAttributeCollection.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlAttributeCollection.cs b/mcs/class/System.XML/System.Xml/XmlAttributeCollection.cs
index 11bef65eaaa..203d8d33f15 100644
--- a/mcs/class/System.XML/System.Xml/XmlAttributeCollection.cs
+++ b/mcs/class/System.XML/System.Xml/XmlAttributeCollection.cs
@@ -28,7 +28,7 @@ namespace System.Xml
[System.Runtime.CompilerServices.IndexerName ("ItemOf")]
public virtual XmlAttribute this [string name] {
get {
- throw new NotImplementedException ();
+ return (XmlAttribute) GetNamedItem (name);
}
}
@@ -36,7 +36,7 @@ namespace System.Xml
[System.Runtime.CompilerServices.IndexerName ("ItemOf")]
public virtual XmlAttribute this [int i] {
get {
- throw new NotImplementedException ();
+ return (XmlAttribute) Nodes [i];
}
}