Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git] / mcs / errors / cs0508-3.cs
blobb30e7b73f451b87611a348b4e684512c09b391aa
1 // CS0508: `A<T>.B<H>.Test()': return type must be `A<T>.B<H>' to match overridden member `A<A<T>.B<H>>.Test()'
2 // Line: 10
4 abstract class A<T>
6 public abstract T Test ();
8 public class B<H> : A<B<H>>
10 public override B<H> Test ()
12 return this;