* MSBuild.cs (Execute): Don't share target output items,
[mcs.git] / errors / cs0131-4.cs
blob07af7193e2d646a7c674bddfea6848c2cbbe801a
1 // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
2 // Line: 17
4 public class Person
6 string _name;
8 public string Name
10 get { return _name; }
11 set { _name = value; }
14 public static void Main ()
16 Person johnDoe = new Person ();
17 (string) johnDoe.Name = "John Doe";