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
[Http]: Cosmetic, remove some dead code.
[mono-project.git]
/
mcs
/
errors
/
cs0460-2.cs
blob
cd93d2b4ca32aa1f9d21ddf3916f1aa7cefc5aeb
1
// CS0460: `C.Test<T>()': Cannot specify constraints for overrides and explicit interface implementation methods
2
// Line: 11
3
4
abstract class
A
5
{
6
protected abstract int
Test
<
T
>()
where T
:
class
;
7
}
8
9
class
C
:
A
10
{
11
protected override int
Test
<
T
>()
where T
:
new
()
12
{
13
}
14
}