Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-629.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 98b7194e629e11f98ef12fbffa9ebb919840c500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
public class Foo
{
	public static class Nested
	{
		public static int Bar {
			get {
				// bar should be referring to Foo.Nested.bar here
				return bar.value;
			}
		} 

		static class bar {
			// The desired
			public const int value = 3;
		}
	}

	// The undesired
	int bar; 

	public static void Main ()
	{
	}
}