2005-06-03 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / tests / gen-113.cs
1 using System;
2
3 public delegate V Mapper<T,V> (T item);
4
5 public class List<T>
6 {
7         public void Map<V> (Mapper<T,V> mapper)
8         { }
9 }
10
11 class X
12 {
13         static void Main ()
14         {
15                 List<int> list = new List<int> ();
16                 list.Map (new Mapper<int,double> (delegate (int i) { return i/10.0; }));
17         }
18 }
19