Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0160-3.cs
blob7f2341db1ff80e10e2dec381aa6bb4f42f8fbbd6
1 // CS0160: A previous catch clause already catches all exceptions of this or a super type `C<dynamic>'
2 // Line: 17
4 class D<T> : C<object>
8 class C<T> : System.Exception
12 class ClassMain
14 public static void Main ()
16 try { }
17 catch (C<dynamic>) { }
18 catch (D<object>) { }