summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1952.cs
blob: de515a3ed1795a2a6e214fff69511e172f98ff33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS1952: An expression tree cannot contain a method with variable arguments
// Line: 11

using System;
using System.Linq.Expressions;

class C
{
	void Foo ()
	{
		Expression<Func<int>> e = () => InstanceArgList (__arglist (0));
	}
	
	int InstanceArgList (__arglist)
	{
		return 54;
	}
}