diff options
Diffstat (limited to 'mcs/class/System.XML/System.Xml/XmlWriter.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml/XmlWriter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml/XmlWriter.cs b/mcs/class/System.XML/System.Xml/XmlWriter.cs index 7e4fb8d6b28..4f69abaf378 100644 --- a/mcs/class/System.XML/System.Xml/XmlWriter.cs +++ b/mcs/class/System.XML/System.Xml/XmlWriter.cs @@ -273,7 +273,7 @@ namespace System.Xml case XmlNodeType.EndEntity: break; case XmlNodeType.None: - break; // Do nothing, nor reporting errors. + return; // Do nothing, nor reporting errors. default: throw new XmlException ("Unexpected node " + reader.Name + " of type " + reader.NodeType); } |