summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0431.cs
blob: c75168f57fca3ab25fe1cf1fc4c09f0d95eb0651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0431: Alias `foo' cannot be used with `::' since it denotes a type. Consider replacing `::' with `.'
// Line: 13

using foo = A;

class A {
	public class B { }
}

class X {
	static void Main ()
	{
		foo::B b = new A.B ();
	}
}