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:
authorAdam Treat <adam@mono-cvs.ximian.com>2002-09-21 02:39:04 +0400
committerAdam Treat <adam@mono-cvs.ximian.com>2002-09-21 02:39:04 +0400
commit0d05c3f3addafd313fd92c2f06891b8b4247ec0a (patch)
tree3e92cada85718adfe365573f3526e4975c60f31f /mcs/class/System.XML/System.Xml
parent12f74ca39fe644c5f968de1a676a732f71cf4bc3 (diff)
* Eliminate pesky carriage returns
svn path=/trunk/mcs/; revision=7662
Diffstat (limited to 'mcs/class/System.XML/System.Xml')
-rw-r--r--mcs/class/System.XML/System.Xml/XmlTextReader.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlTextReader.cs b/mcs/class/System.XML/System.Xml/XmlTextReader.cs
index efb48699ad4..db56e9df26f 100644
--- a/mcs/class/System.XML/System.Xml/XmlTextReader.cs
+++ b/mcs/class/System.XML/System.Xml/XmlTextReader.cs
@@ -766,6 +766,9 @@ namespace System.Xml
ReadTag ();
more = true;
break;
+ case '\r':
+ ReadChar ();
+ return ReadContent ();
case '\n':
ReadChar ();
return ReadContent ();