add ISafeSerializationData
[mcs.git] / tests / test-24.cs
blobe69a844c93d838be0c3fc274adece02d5703c0fa
1 //
2 // Properties intermixed in assignments
3 //
5 using System;
7 class X {
9 static string v;
11 static string S {
12 get {
13 return v;
15 set {
16 v = value;
20 static string x, b;
22 static int Main ()
25 x = S = b = "hlo";
26 if (x != "hlo")
27 return 1;
28 if (S != "hlo")
29 return 2;
30 if (b != "hlo")
31 return 3;
32 return 0;