Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs0425-3.cs
1 // CS0425: The constraints for type parameter `T' of method `C.Foo<T>()' must match the constraints for type parameter `T' of interface method `I.Foo<T>()'. Consider using an explicit interface implementation instead
2 // Line: 11
3
4 interface I
5 {
6         void Foo<T> ();
7 }
8
9 class C : I
10 {
11         public void Foo<T> () where T : struct
12         {
13         }
14 }