diff options
Diffstat (limited to 'mcs/class/System.XML/System.Xml/XmlTextWriter.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml/XmlTextWriter.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlTextWriter.cs b/mcs/class/System.XML/System.Xml/XmlTextWriter.cs index 73acae256e2..a0779362129 100644 --- a/mcs/class/System.XML/System.Xml/XmlTextWriter.cs +++ b/mcs/class/System.XML/System.Xml/XmlTextWriter.cs @@ -407,7 +407,11 @@ namespace System.Xml [MonoTODO] public override void WriteQualifiedName (string localName, string ns) { - throw new NotImplementedException (); + if (localName == null || localName == String.Empty) + throw new ArgumentException (); + + CheckState (); + w.Write ("{0}:{1}", ns, localName); } public override void WriteRaw (string data) |