16 lines
232 B
C#
Raw Normal View History

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