Update to recent changes -- mostly testcases failing due to missing ArrayList
[mcs.git] / tests / test-315.cs
blob954285f0c8c78e44bcce1174c33eefd83c891b19
1 using System;
3 public interface IDirectedEnumerable
5 IDirectedEnumerable Backwards();
8 public interface IDirectedCollectionValue : IDirectedEnumerable
10 new IDirectedCollectionValue Backwards();
13 public class GuardedCollectionValue : IDirectedCollectionValue
15 IDirectedEnumerable IDirectedEnumerable.Backwards ()
17 return this;
20 public IDirectedCollectionValue Backwards ()
22 return this;
26 public interface ISequenced : IDirectedCollectionValue
30 public class GuardedSequenced
32 ISequenced sequenced;
34 public IDirectedCollectionValue Test ()
36 return sequenced.Backwards();
40 class X
42 static void Main ()
43 { }