summaryrefslogtreecommitdiff
path: root/mcs/tests/test-857.cs
blob: 3da34d63a7a530c847470690f4c2328a3119b606 (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
25
26
27
28
29
using System;

public class Outer
{
	public enum Inner
	{
		ONE,
		TWO
	}
}

public class TypeHiding
{

	public static bool Test1 (Outer Outer)
	{
		return 0 == Outer.Inner.ONE;
	}

	public static bool Test2 ()
	{
		Outer Outer = null;
		return 0 == Outer.Inner.ONE;
	}

	public static void Main ()
	{
	}
}