Update mcs/class/System.Core/System/TimeZoneInfo.cs
[mono.git] / mcs / tests / gtest-etree-16.cs
1 using System;
2 using System.Linq.Expressions;
3
4 public class Program
5 {
6         static int Main ()
7         {
8                 Expression<Action<IHelper>> e = (helper => helper.DoIt (null));
9                 var mce = e.Body as MethodCallExpression;
10                 var et = mce.Arguments[0].NodeType;
11                 Console.WriteLine (et);
12                 if (et != ExpressionType.Constant)
13                         return 1;
14
15                 return 0;
16         }
17 }
18
19 public class Foo { }
20
21 public interface IHelper
22 {
23         void DoIt (Foo foo);
24 }