summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0508-2.cs
blob: f963ccfb38763b0986c21c7dbd1e7b20c7e9f022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0508: `A<T>.B.getT()': return type must be `A<T>.B' to match overridden member `A<A<T>.B>.getT()'
// Line: 10

abstract class A<T>
{
	public abstract T getT ();

	public class B : A<B>
	{
		public override B getT ()
		{
			throw new System.Exception ("The method or operation is not implemented.");
		}
	}
}