blob: 5ed8eccfec97bbb06234216facf1d48669c58e0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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;
}
}
|