[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-832.cs
bloba07aefb8998a2d9f858af6b49ff4b56efac52ee6
1 public class A
3 public static int Main ()
5 var a = new A ();
6 a.Test ();
7 if (a.Properties.P2.Value != 1)
8 return 1;
10 return 0;
13 S s = new S (55);
15 void Test ()
17 Properties.P2.Value = 1;
20 internal S Properties {
21 get { return s; }
25 struct S
27 C c;
29 public S (int i)
31 c = new C ();
34 public C P2
36 get { return c; }
40 class C
42 public int Value;