repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs1955.cs
blob
ace2ddce385f5e4aa9617f2e63db6997ab1e7b1b
1
// CS1955: The member `Y.x' cannot be used as method or delegate
2
// Line: 17
3
4
using
System
;
5
6
class
Y
7
{
8
public int
x { get { return 1; }
}
9
}
10
11
class
X
12
{
13
static int
Main
()
14
{
15
Y y
=
new
Y
();
16
17
y
.
x
();
18
return
0
;
19
}
20
}