Incremented version number.
[mono.git] / mcs / errors / gcs0425.cs
1 using System;
2
3 public abstract class Base
4 {
5         public abstract T G<T> (T t) where T : IComparable;
6 }
7
8 class Derived : Base
9 {
10         // CS0425: The constraints of type parameter `T' of method `G' must match the
11         // constraints for type parameter `T' of method `Base.G'
12         public override T G<T> (T t)
13         {
14                 return t;
15         }
16 }