2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs1058-1.cs
blobd0526d6a7e6f91eb7595a7997cb5cadd5a6c2dcc
1 // cs1058.cs: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a `System.Runtime.CompilerServices.RuntimeWrappedException'
2 // Line: 11
3 // Compiler options: -warnaserror -warn:4
5 class C
7 static void Main()
9 try {}
10 catch (System.Exception) { }
11 catch {}