Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0508-2.cs
blobf963ccfb38763b0986c21c7dbd1e7b20c7e9f022
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
4 abstract class A<T>
6 public abstract T getT ();
8 public class B : A<B>
10 public override B getT ()
12 throw new System.Exception ("The method or operation is not implemented.");