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
/
cs0508-4.cs
blob
9a1552971f6efbec2d5eba57ed0053833e3c9a97
1
// CS0508: `A<T>.B.getT()': return type must be `A<T>.B' to match overridden member `A<A<T>.B>.getT()'
2
// Line: 10
3
4
abstract class
A
<
T
>
5
{
6
public abstract
T
getT
();
7
8
public class
B
:
A
<
B
>
9
{
10
public override
B
getT
()
11
{
12
return default
(
B
);
13
}
14
}
15
}