[xml] XmlDocument.ReadNode() should not special case XmlTextReader.
authorAtsushi Eno <atsushieno@gmail.com>
Fri, 31 Oct 2014 16:06:05 +0000 (00:06 +0800)
committerAtsushi Eno <atsushieno@gmail.com>
Fri, 31 Oct 2014 16:06:05 +0000 (00:06 +0800)
commit661430fd1f052c5589bcd5d116f37b9ee4e27210
tree3f0932c8bb6ebf89993c2da0ae3756d87c007842
parent3fd4901a235bda0019f03317f4ee083744195758
[xml] XmlDocument.ReadNode() should not special case XmlTextReader.

Added test case that proves this change (by baulig).
mcs/class/System.XML/System.Xml/XmlDocument.cs
mcs/class/System.XML/Test/System.Xml/XmlTextReaderTests.cs