ignores
[mcs.git] / errors / gcs0309-7.cs
blob9dd3a0d59553e94c65c0252b49274a4c001104bc
1 // CS0309: The type `T' must be convertible to `System.IDisposable' in order to use it as parameter `T' in the generic type or method `IB<K,T>'
2 // Line: 20
4 public interface IA<K>
5 where K : System.IComparable, System.IComparable<K>
9 public class A<K> : IA<K>
10 where K : System.IComparable, System.IComparable<K>
14 public interface IB<K,T>
15 where T : System.IDisposable
19 public class B<K,T> : IB<K,T>
20 where T : B<K,T>.Element, new()
21 where K : System.IComparable, System.IComparable<K>
23 public abstract class Element : A<K>