[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / gtest-etree-02.cs
1 using System;
2 using System.Linq.Expressions;
3
4 class M
5 {
6         public static void Foo<T> (Expression<Func<T, T>> x)
7         {
8         }
9         
10         static string Param (string b)
11         {
12                 Expression<Func<string, Expression<Func<string>>>> e = (string s) => () => b;
13                 return e.Compile () ("-##54!2").Compile () ();
14         }
15
16         public static int Main ()
17         {
18                 Foo<int> ((i) => i);
19
20                 Foo ((int i) => i);
21
22                 Expression<Func<int, int>> func = (i) => i;
23                 Foo (func);
24                 
25                 if (Param ("my test") != "my test")
26                         return 1;
27                 
28                 return 0;
29         }
30 }
31