Author: gert
Date: 2006-11-19 04:29:03 -0500 (Sun, 19 Nov 2006)
New Revision: 68143
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/codegen.cs
trunk/mcs/mcs/report.cs
Log:
A fix for bug #79810
* report.cs: CS1058 only applies to 2.0 profile (gmcs).
* codegen.cs: on 2.0 profile, non-exception throwables are wrapped in
a RuntimeWrappedException by default.
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2006-11-19 01:21:44 UTC (rev 68142)
+++ trunk/mcs/mcs/ChangeLog 2006-11-19 09:29:03 UTC (rev 68143)
@@ -1,3 +1,10 @@
+2006-11-19 Gert Driesen <[EMAIL PROTECTED]>
+
+ A fix for bug #79810
+ report.cs: CS1058 only applies to 2.0 profile (gmcs).
+ codegen.cs: on 2.0 profile, non-exception throwables are wrapped in
+ a RuntimeWrappedException by default.
+
2006-11-18 Marek Safar <[EMAIL PROTECTED]>
A fix for bug #79843
Modified: trunk/mcs/mcs/codegen.cs
===================================================================
--- trunk/mcs/mcs/codegen.cs 2006-11-19 01:21:44 UTC (rev 68142)
+++ trunk/mcs/mcs/codegen.cs 2006-11-19 09:29:03 UTC (rev 68143)
@@ -1005,7 +1005,9 @@
public AssemblyClass (): base ()
{
+#if GMCS_SOURCE
wrap_non_exception_throws = true;
+#endif
}
public bool IsClsCompliant {
Modified: trunk/mcs/mcs/report.cs
===================================================================
--- trunk/mcs/mcs/report.cs 2006-11-19 01:21:44 UTC (rev 68142)
+++ trunk/mcs/mcs/report.cs 2006-11-19 09:29:03 UTC (rev 68143)
@@ -78,7 +78,7 @@
219, 251, 252, 253, 278, 282,
419, 420, 429, 436, 440, 465, 467, 469,
612, 618, 626, 628, 642, 649, 652, 658, 659, 660, 661,
665, 672, 675,
- 1030, 1058,
+ 1030,
1522, 1570, 1571, 1572, 1573, 1574, 1580, 1581, 1584,
1587, 1589, 1590, 1591, 1592,
1616, 1633, 1634, 1635, 1690, 1691, 1692,
1717, 1718, 1720,
@@ -86,7 +86,7 @@
2002, 2023,
3005, 3012, 3019, 3021, 3022, 3023, 3026, 3027,
#if GMCS_SOURCE
- 402, 414, 693, 1700, 3024
+ 402, 414, 693, 1058, 1700, 3024
#endif
};
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches