Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0019-63.cs
1 // CS0019: Operator `==' cannot be applied to operands of type `U' and `null'
2 // Line: 13
3
4 abstract class A<T>
5 {
6         public abstract bool Foo<U> (U arg) where U : T;
7 }
8
9 class B : A<byte>
10 {
11         public override bool Foo<U> (U arg)
12         {
13                 return arg == null;
14         }
15 }