1 // CS0572: `Foo': cannot reference a type through an expression. Consider using `Y.Foo' instead
9 public static void Main ()
13 object o
= y
.Foo
.Hello
;
19 public enum Foo { Hello, World }
;
21 public void Test (Foo foo
)
23 Console
.WriteLine (foo
);