Browse Source

2005-11-15 Atsushi Enomoto <[email protected]>

	* doc.cs : (GenerateTypeDocComment) Fields could be FixedField.
	  Fixed bug #76705.  CS1569 was incorrectly commented out.


svn path=/trunk/mcs/; revision=53038
Atsushi Eno 20 years ago
parent
commit
252f43e893
2 changed files with 9 additions and 4 deletions
  1. 5 0
      mcs/mcs/ChangeLog
  2. 4 4
      mcs/mcs/doc.cs

+ 5 - 0
mcs/mcs/ChangeLog

@@ -1,3 +1,8 @@
+2005-11-15  Atsushi Enomoto  <[email protected]>
+
+	* doc.cs : (GenerateTypeDocComment) Fields could be FixedField.
+	  Fixed bug #76705.  CS1569 was incorrectly commented out.
+
 2005-11-14  Atsushi Enomoto  <[email protected]>
 
 	* doc.cs : use Invocation.IsOverride() to do real override check.

+ 4 - 4
mcs/mcs/doc.cs

@@ -73,7 +73,7 @@ namespace Mono.CSharp {
 					c.GenerateDocComment (t);
 
 			if (t.Fields != null)
-				foreach (Field f in t.Fields)
+				foreach (FieldBase f in t.Fields)
 					f.GenerateDocComment (t);
 
 			if (t.Events != null)
@@ -902,9 +902,9 @@ namespace Mono.CSharp {
 				w.WriteWhitespace (Environment.NewLine);
 				w.WriteEndDocument ();
 				return true;
-//			} catch (Exception ex) {
-//				Report.Error (1569, "Error generating XML documentation file `{0}' (`{1}')", docfilename, ex.Message);
-//				return false;
+			} catch (Exception ex) {
+				Report.Error (1569, "Error generating XML documentation file `{0}' (`{1}')", docfilename, ex.Message);
+				return false;
 			} finally {
 				if (w != null)
 					w.Close ();