repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-04-01 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0460-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
}