Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566)
[mono.git] / mcs / errors / cs0455-5.cs
1 // CS0455: Type parameter `Y' inherits conflicting constraints `class' and `long'
2 // Line: 11
3
4 abstract class A<T>
5 {
6         public abstract void Foo<U> () where U : class, T;
7 }
8
9 class B : A<long>
10 {
11         public override void Foo<Y> ()
12         {
13         }
14 }