add test to confirm behavior of Control.SetVisibleCore, and remove some redundant...
[mcs.git] / tests / gtest-095.cs
blob74f501f289e47f2b35b504e8b8736c85e05de222
1 using System;
3 public interface IDirectedEnumerable<T>
5 IDirectedEnumerable<T> Backwards();
8 public interface IDirectedCollectionValue<T> : IDirectedEnumerable<T>
10 new IDirectedCollectionValue<T> Backwards();
13 public class GuardedCollectionValue<T> : IDirectedCollectionValue<T>
15 IDirectedEnumerable<T> IDirectedEnumerable<T>.Backwards ()
17 return this;
20 public IDirectedCollectionValue<T> Backwards ()
22 return this;
26 public interface ISequenced<T> : IDirectedCollectionValue<T>
30 public class GuardedSequenced<T>
32 ISequenced<T> sequenced;
34 public IDirectedCollectionValue<T> Test ()
36 return sequenced.Backwards();
40 class X
42 static void Main ()
43 { }