Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-572.cs
1 struct Color
2 {
3         public static Color From (int i)
4         {
5                 return new Color ();
6         }
7         
8         public int ToArgb ()
9         {
10                 return 0;
11         }
12 }
13
14 class C
15 {
16                 public Color Color {
17                         get {
18                                 return new Color();
19                         }
20                 }
21                 
22                 void ResetCustomColors ()
23                 {
24                         int default_color = Color.From(0).ToArgb ();
25                 }
26                 
27                 public static void Main ()
28                 {
29                 }
30 }