Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / errors / cs1952.cs
1 // CS1952: An expression tree cannot contain a method with variable arguments
2 // Line: 11
3
4 using System;
5 using System.Linq.Expressions;
6
7 class C
8 {
9         void Foo ()
10         {
11                 Expression<Func<int>> e = () => InstanceArgList (__arglist (0));
12         }
13         
14         int InstanceArgList (__arglist)
15         {
16                 return 54;
17         }
18 }