2009-10-20 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-etree-15.cs
blob214b9ae9fe7967aa59bfc8e247e75140239c4cf7
1 using System;
2 using System.Linq.Expressions;
3 using System.Collections.Generic;
5 static public class Foo
7 static public int Helper (Expression<Predicate<int>> match)
9 return 0;
12 static public void Main ()
14 Expression<Action<List<int>>> exp = x => x.Add (Helper (i => true));
15 exp.Compile () (new List<int> { 1 });