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