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 #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0508-2.cs
blob
f963ccfb38763b0986c21c7dbd1e7b20c7e9f022
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
throw new
System
.
Exception
(
"The method or operation is not implemented."
);
13
}
14
}
15
}