projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5010 from Unity-Technologies/boehm-gc-alloc-fixed-sre
[mono.git]
/
mcs
/
errors
/
cs0131-4.cs
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
}