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:
authorDuncan Mak <duncan@mono-cvs.ximian.com>2002-09-15 22:46:41 +0400
committerDuncan Mak <duncan@mono-cvs.ximian.com>2002-09-15 22:46:41 +0400
commitd1eb94eb677b6298c501c470976494a3a29e16df (patch)
tree833aed75d09ffdab98a5346a6a9ffd831ca17aee /mcs/class/System.XML/System.Xml
parentd554416afa63a0b53a9ec8e966064311719f1b41 (diff)
2002-09-15 Duncan Mak <duncan@ximian.com>
* FileSystemWatcher.cs (FileSystemWatcher): Fixed the null-param constructor. svn path=/trunk/mcs/; revision=7479
Diffstat (limited to 'mcs/class/System.XML/System.Xml')
-rw-r--r--mcs/class/System.XML/System.Xml/XmlTextReader.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlTextReader.cs b/mcs/class/System.XML/System.Xml/XmlTextReader.cs
index 634115e6ddc..85a8922ba85 100644
--- a/mcs/class/System.XML/System.Xml/XmlTextReader.cs
+++ b/mcs/class/System.XML/System.Xml/XmlTextReader.cs
@@ -316,7 +316,10 @@ namespace System.Xml
[MonoTODO]
public override string GetAttribute (int i)
{
- throw new NotImplementedException ();
+ if (i > attributes.Count)
+ throw new ArgumentOutOfRangeException ("i is smaller than AttributeCount");
+ else
+ throw new NotImplementedException ();
}
public override string GetAttribute (string name)