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
* MSBuild.cs (Execute): Don't share target output items,
[mcs.git]
/
errors
/
gcs0460-2.cs
blob
035a602b809a5984c2f77ab2f007aaa7d9126fd7
1
// CS0460: `C.Test<T>()': Cannot specify constraints for overrides or 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
}