Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An __arglist expression may only appear inside of a call or new expression.
The unsupported keyword __arglist
can only appear in a method call or a new expression.
Example
The following code generates CS0226:
// cs0226.cs
using System;
public class C
{
public static int Main ()
{
__arglist(1,"This is a string"); // CS0226
return 0;
}
}
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.