[System] Throw PlatformNotSupportedException if NetworkInformation.NetworkChange...
[mono-project.git] / mcs / tests / gtest-152.cs
blob8c0b32188cea0e8fb3d6b20c5df2115b71f0ca11
1 using System;
3 public interface IFoo
5 IFoo Hello ();
8 public interface IFoo<T> : IFoo
10 new IFoo<T> Hello ();
13 public interface ICollectionValue<T>: IFoo<T>
17 public interface ICollection<T>: ICollectionValue<T>
18 { }
20 public abstract class EnumerableBase<T> : IFoo<T>
22 public abstract IFoo<T> Hello();
24 IFoo IFoo.Hello ()
26 return Hello ();
30 public abstract class CollectionBase<T> : EnumerableBase<T>
34 public class HashBag<T>: CollectionBase<T>, ICollection<T>
36 public override IFoo<T> Hello ()
38 return this;
42 class X
44 public static void Main ()