Author: gert
Date: 2006-11-19 04:33:51 -0500 (Sun, 19 Nov 2006)
New Revision: 68145

Added:
   trunk/mcs/errors/gcs1058-1.cs
   trunk/mcs/errors/gcs1058-2.cs
Removed:
   trunk/mcs/errors/cs1058.cs
Modified:
   trunk/mcs/errors/ChangeLog
Log:
* cs1058.cs: Removed as CS1058 does not apply to 1.0 profile.
* gcs1058-1.cs, gcs1058-2.cs: Added tests for bug #79810.


Modified: trunk/mcs/errors/ChangeLog
===================================================================
--- trunk/mcs/errors/ChangeLog  2006-11-19 09:32:53 UTC (rev 68144)
+++ trunk/mcs/errors/ChangeLog  2006-11-19 09:33:51 UTC (rev 68145)
@@ -1,3 +1,8 @@
+2006-11-19  Gert Driesen  <[EMAIL PROTECTED]>
+
+       * cs1058.cs: Removed as CS1058 does not apply to 1.0 profile.
+       * gcs1058-1.cs, gcs1058-2.cs: Added tests for bug #79810.
+
 2006-10-26  Raja R Harinath  <[EMAIL PROTECTED]>
 
        * cs0165-13.cs: New test from #78820.

Deleted: trunk/mcs/errors/cs1058.cs
===================================================================
--- trunk/mcs/errors/cs1058.cs  2006-11-19 09:32:53 UTC (rev 68144)
+++ trunk/mcs/errors/cs1058.cs  2006-11-19 09:33:51 UTC (rev 68145)
@@ -1,14 +0,0 @@
-// cs1058.cs: A previous catch clause already catches all exceptions. All 
non-exceptions thrown will be wrapped in a 
`System.Runtime.CompilerServices.RuntimeWrappedException'
-// Line: 11
-// Compiler options: -warnaserror -warn:1
-
-class C
-{
-   static void Main() 
-   {
-      try {}
-      catch (System.Exception) { }
-      catch {}
-   }
-}
- 
\ No newline at end of file

Added: trunk/mcs/errors/gcs1058-1.cs
===================================================================
--- trunk/mcs/errors/gcs1058-1.cs       2006-11-19 09:32:53 UTC (rev 68144)
+++ trunk/mcs/errors/gcs1058-1.cs       2006-11-19 09:33:51 UTC (rev 68145)
@@ -0,0 +1,14 @@
+// cs1058.cs: A previous catch clause already catches all exceptions. All 
non-exceptions thrown will be wrapped in a 
`System.Runtime.CompilerServices.RuntimeWrappedException'
+// Line: 11
+// Compiler options: -warnaserror -warn:4
+
+class C
+{
+   static void Main() 
+   {
+      try {}
+      catch (System.Exception) { }
+      catch {}
+   }
+}
+ 


Property changes on: trunk/mcs/errors/gcs1058-1.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/mcs/errors/gcs1058-2.cs
===================================================================
--- trunk/mcs/errors/gcs1058-2.cs       2006-11-19 09:32:53 UTC (rev 68144)
+++ trunk/mcs/errors/gcs1058-2.cs       2006-11-19 09:33:51 UTC (rev 68145)
@@ -0,0 +1,17 @@
+// gcs1058.cs: A previous catch clause already catches all exceptions. All 
non-exceptions thrown will be wrapped in a 
`System.Runtime.CompilerServices.RuntimeWrappedException'
+// Line: 15
+// Compiler options: -warnaserror -warn:4
+
+using System.Runtime.CompilerServices;
+
+[assembly: RuntimeCompatibility (WrapNonExceptionThrows=true)]
+
+class C
+{
+   static void Main() 
+   {
+      try {}
+      catch (System.Exception) { }
+      catch {}
+   }
+}


Property changes on: trunk/mcs/errors/gcs1058-2.cs
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to