* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / tests / test-347.cs
1 namespace Whatever.Core {
2         public class Project {
3         }
4
5         public class A {
6                 public Project Project {
7                         get { return new Project(); }
8                 }
9         }
10 }
11
12 namespace SomethingElse.Core {
13         public class Project {
14         }
15 }
16
17 namespace Whatever.App {
18         using Whatever.Core;
19         using SomethingElse.Core;
20
21         public class B : A {
22                 public string Execute() {
23                         return Project.ToString();
24                 }
25
26                 public static void Main ()
27                 {
28                         new B().Execute ();
29                 }
30         }
31 }
32