Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-629.cs
1 public class Foo
2 {
3         public static class Nested
4         {
5                 public static int Bar {
6                         get {
7                                 // bar should be referring to Foo.Nested.bar here
8                                 return bar.value;
9                         }
10                 } 
11
12                 static class bar {
13                         // The desired
14                         public const int value = 3;
15                 }
16         }
17
18         // The undesired
19         int bar; 
20
21         public static void Main ()
22         {
23         }
24 }