update readme (#21797)
[mono-project.git] / mcs / tests / test-639.cs
blob2b32d09f6c4c1ababbd3d9760ebf8fa045366aa6
1 class Foo {
2 bool got;
3 string s {
4 get { got = true; return ""; }
5 set { if (!got || value != "A1B2") throw new System.Exception (); }
8 public static void Main ()
10 (new Foo ()).s += "A" + 1 + "B" + 2;