Files
mono/mcs/errors/cs0428.cs
T
Marek Safar a2f7036e73 new tests + update
svn path=/trunk/mcs/; revision=50839
2005-09-27 10:28:59 +00:00

15 lines
200 B
C#

// cs0428.cs: Cannot convert method group `a' to non-delegate type `int'. Did you intend to invoke the method?
// Line: 12
class X {
int a (int a)
{
return 0;
}
void b ()
{
int x = a;
}
}