Author: benm
Date: 2005-07-03 17:08:50 -0400 (Sun, 03 Jul 2005)
New Revision: 46893
Modified:
trunk/mcs/tools/monop/ChangeLog
trunk/mcs/tools/monop/outline.cs
Log:
2005-07-03 Ben Maurer <[EMAIL PROTECTED]>
* outline.cs: Add support for readonly fields.
Modified: trunk/mcs/tools/monop/ChangeLog
===================================================================
--- trunk/mcs/tools/monop/ChangeLog 2005-07-03 20:22:44 UTC (rev 46892)
+++ trunk/mcs/tools/monop/ChangeLog 2005-07-03 21:08:50 UTC (rev 46893)
@@ -1,3 +1,7 @@
+2005-07-03 Ben Maurer <[EMAIL PROTECTED]>
+
+ * outline.cs: Add support for readonly fields.
+
2005-05-30 Ben Maurer <[EMAIL PROTECTED]>
* outline.cs: Don't show static constructors: they are cctors,
Modified: trunk/mcs/tools/monop/outline.cs
===================================================================
--- trunk/mcs/tools/monop/outline.cs 2005-07-03 20:22:44 UTC (rev 46892)
+++ trunk/mcs/tools/monop/outline.cs 2005-07-03 21:08:50 UTC (rev 46893)
@@ -409,7 +409,9 @@
if (fi.IsFamily) o.Write ("protected ");
if (fi.IsPrivate) o.Write ("private ");
if (fi.IsAssembly) o.Write ("internal ");
- if (fi.IsLiteral) o.Write ("const ");
+ if (fi.IsLiteral) o.Write ("const ");
+ if (fi.IsInitOnly) o.Write ("readonly ");
+
o.Write (FormatType (fi.FieldType));
o.Write (" ");
o.Write (fi.Name);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches