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
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0154.cs
blob
f18a1e4dca636cdeca6c8a5cfb1810ba6f3124c0
1
// CS0154: The property or indexer `A.name' cannot be used in this context because it lacks the `get' accessor
2
// Line: 21
3
4
public class
A
5
{
6
public string
name
7
{
8
set
9
{
10
name
=
value
;
11
}
12
}
13
}
14
15
public class
B
16
{
17
public static void
Main
()
18
{
19
A a
=
new
A
();
20
string
b
=
a
.
name
;
21
}
22
}
23