a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
333 B
C#
22 lines
333 B
C#
// CS0190: The __arglist construct is valid only within a variable argument method
|
|
// Line: 11
|
|
|
|
public class Test
|
|
{
|
|
public static void Foo (__arglist)
|
|
{
|
|
System.RuntimeArgumentHandle o;
|
|
{
|
|
System.Action a = delegate () {
|
|
o = __arglist;
|
|
};
|
|
|
|
a ();
|
|
}
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
Foo (__arglist ());
|
|
}
|
|
} |