diff options
Diffstat (limited to 'mcs/class/System.XML/System.Xml/XmlTextReader.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml/XmlTextReader.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlTextReader.cs b/mcs/class/System.XML/System.Xml/XmlTextReader.cs index 0a6ebbdbe19..91611af2ee9 100644 --- a/mcs/class/System.XML/System.Xml/XmlTextReader.cs +++ b/mcs/class/System.XML/System.Xml/XmlTextReader.cs @@ -49,7 +49,12 @@ namespace System.Xml [MonoTODO] public XmlTextReader (Stream input) { - throw new NotImplementedException (); + // We can share some code in the constructors (at least for this one and next 2) + XmlNameTable nt = new NameTable (); + XmlNamespaceManager nsMgr = new XmlNamespaceManager (nt); + parserContext = new XmlParserContext (null, nsMgr, null, XmlSpace.None); + Init (); + reader = new StreamReader (input); } [MonoTODO] |