Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs0455-4.cs
1 // CS0455: Type parameter `Y' inherits conflicting constraints `long' and `long?'
2 // Line: 11
3
4 abstract class A<T1, T2>
5 {
6         public abstract void Foo<U> () where U : T1, T2;
7 }
8
9 class B : A<long, long?>
10 {
11         public override void Foo<Y> ()
12         {
13         }
14 }