* MenuAPI.cs: On instance of MenuTracker check if source control is
[mono.git] / mcs / mcs / doc.cs
index f5d51e7dcbcd57ff5bf0c3fdd4105a1de1db996c..2f786e54bf054fdea8e171d1a183ad1e39d46d61 100644 (file)
@@ -128,7 +128,7 @@ namespace Mono.CSharp {
                                el.InnerXml = line_head + String.Join (
                                        line_head, split, 0, j);
                                return el;
-                       } catch (XmlException ex) {
+                       } catch (Exception ex) {
                                Report.Warning (1570, 1, mc.Location, "XML comment on `{0}' has non-well-formed XML ({1})", name, ex.Message);
                                XmlComment com = doc.CreateComment (String.Format ("FIXME: Invalid documentation markup was found for member {0}", name));
                                return com;