Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0160-3.cs
1 // CS0160: A previous catch clause already catches all exceptions of this or a super type `C<dynamic>'
2 // Line: 17
3
4 class D<T> : C<object>
5 {
6 }
7
8 class C<T> : System.Exception
9 {
10 }
11
12 class ClassMain
13 {
14         public static void Main ()
15         {
16                 try { }
17                 catch (C<dynamic>) { }
18                 catch (D<object>) { }
19         }
20 }