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
* MSBuild.cs (Execute): Don't share target output items,
[mcs.git]
/
errors
/
cs0131-4.cs
blob
07af7193e2d646a7c674bddfea6848c2cbbe801a
1
// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
2
// Line: 17
3
4
public class
Person
5
{
6
string
_name
;
7
8
public string
Name
9
{
10
get
{ return _name; }
11
set
{ _name = value; }
12
}
13
14
public static void
Main
()
15
{
16
Person johnDoe
=
new
Person
();
17
(
string
)
johnDoe
.
Name
=
"John Doe"
;
18
}
19
}