[mcs] C# 7 tuple (foundation only).
[mono.git] / mcs / errors / cs1058-1.cs
1 // CS1058: 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
4
5 class C
6 {
7    static void Main() 
8    {
9       try {}
10       catch (System.Exception) { }
11       catch {}
12    }
13 }
14