repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0160-3.cs
blob
7f2341db1ff80e10e2dec381aa6bb4f42f8fbbd6
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
}