[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / gtest-initialize-08.cs
blobfea71330f382fdbf46a1e0ecceb6a8df07879fe8
1 using System;
2 using System.Collections.Generic;
4 class T
6 public X[] x;
9 class X
11 public Z[] Prop { get; set; }
14 class Z
18 class Test
20 T t = new T () { x = new X [] {
21 new X () {
22 Prop = new Z[] { new Z (), new Z () }
24 }};
26 public Test (string s)
30 public Test (int i)
35 public class C
37 public static int Main ()
39 new Test ("2");
40 return 0;