Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0508-4.cs
blob9a1552971f6efbec2d5eba57ed0053833e3c9a97
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 return default (B);