Files
mono/mcs/errors/cs0428.cs
T
Marek Safar 883c5b9574 New test.
svn path=/trunk/mcs/; revision=100027
2008-04-07 15:58:33 +00:00

15 lines
208 B
C#

// CS0428: Cannot convert method group `a' to non-delegate type `int'. Consider using parentheses to invoke the method
// Line: 12
class X {
int a (int a)
{
return 0;
}
void b ()
{
int x = a;
}
}