[ci] Small improvements for run-jenkins and collect-coverage. (#5669)
[mono.git] / mcs / tests / test-766.cs
1 namespace A
2 {
3         using Base = B.Color;
4
5         class Color
6         {
7                 protected Base Base
8                 {
9                         get { return Base.Blue; }
10                 }
11
12                 protected Base NewBase {
13                         get {
14                                 return Base.From(1);
15                         }
16                 }
17
18                 public static void Main ()
19                 {
20                 }
21         }
22 }
23
24 namespace B
25 {
26         public struct Color
27         {
28                 public static Color Blue = new Color ();
29                 
30                 public static Color From (int i)
31                 {
32                         return new Color ();
33                 }
34         }
35 }