blob: 7f2341db1ff80e10e2dec381aa6bb4f42f8fbbd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// CS0160: A previous catch clause already catches all exceptions of this or a super type `C<dynamic>'
// Line: 17
class D<T> : C<object>
{
}
class C<T> : System.Exception
{
}
class ClassMain
{
public static void Main ()
{
try { }
catch (C<dynamic>) { }
catch (D<object>) { }
}
}
|