projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[amd64] Save missing register
[mono.git]
/
mcs
/
errors
/
cs0200-3.cs
1
// CS0200: Property or indexer `A.Counter' cannot be assigned to (it is read-only)
2
// Line: 9
3
4
class Program
5
{
6
static void Main()
7
{
8
A a = new A();
9
a.Counter++;
10
}
11
}
12
13
class A {
14
private int? _counter;
15
public int? Counter {
16
get { return _counter; }
17
}
18
}