2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-250.cs
blobc57295c1fea284e35dbc51a4162bf5464828a084
1 using System;
2 using SCG = System.Collections.Generic;
4 public delegate S Fun<R,S> (R r);
6 public interface IIndexedSorted<T>
8 IIndexedSorted<V> Map<V> (Fun<T,V> mapper);
11 public class GuardedIndexedSorted<T> : IIndexedSorted<T>
13 IIndexedSorted<T> indexedsorted;
15 public IIndexedSorted<V> Map<V> (Fun<T,V> m)
17 return indexedsorted.Map (m);
21 class X
23 static void Main ()
24 { }