Fix DateTime.Now and CurrentTimeToUtc during DST transition time (#4172)
[mono-project.git] / mcs / tests / gtest-etree-16.cs
blob8bf2bcd7d57a8b33a6948ea61deab9fad1396856
1 using System;
2 using System.Linq.Expressions;
4 public class Program
6 public static int Main ()
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;
15 return 0;
19 public class Foo { }
21 public interface IHelper
23 void DoIt (Foo foo);