1 // cs0572.cs: `Foo': cannot reference a type through an expression; try `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
);