Files
mono/mcs/errors/cs1676.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

14 lines
255 B
C#

// cs1676.cs: Parameter `1' must be declared with the `ref' keyword
// Line: 11
//
// The delegate has an explicit signature, so it can not be assigned.
//
delegate void D (ref int x);
class X {
static void Main ()
{
D d2 = delegate (int x) {};
}
}