Files
mono/mcs/errors/cs0431.cs
T
Marek Safar 6a9b70031b New tests, msg updates.
svn path=/trunk/mcs/; revision=100972
2008-04-17 11:11:29 +00:00

16 lines
232 B
C#

// 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 ();
}
}