[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1952.cs
blobde515a3ed1795a2a6e214fff69511e172f98ff33
1 // CS1952: An expression tree cannot contain a method with variable arguments
2 // Line: 11
4 using System;
5 using System.Linq.Expressions;
7 class C
9 void Foo ()
11 Expression<Func<int>> e = () => InstanceArgList (__arglist (0));
14 int InstanceArgList (__arglist)
16 return 54;