repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Add more Math intrinsics (#19174)
[mono-project.git]
/
mcs
/
errors
/
cs0200-3.cs
blob
0af8e83ff7ed6ed503a788a2a76bdca5182872e6
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
}