Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0029-30.cs
blob4cf7d6cd7a3aa7a0d47a97d44b58a27f9baef74e
1 // CS0029: Cannot implicitly convert type `U' to `int'
2 // Line: 13
4 abstract class A<T>
6 public abstract void Foo<U> (U arg) where U : T;
9 class B : A<int>
11 public override void Foo<U> (U arg)
13 int i = arg;