GenericParameter.cs: override Module properly
[mcs.git] / tests / gtest-etree-16.cs
blobb02f344487f0038a7914c9cbe2002d891753623c
1 using System;
2 using System.Linq.Expressions;
4 public class Program
6 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);