<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0572</ErrorName>
  <Examples>
    <string>// cs0572.cs: `Foo': cannot reference a type through an expression; try `Y.Foo' instead
// Line: 13
using System;

class X
{
	private static Y y;

	public static void Main ()
	{
		y = new Y ();

		object o = y.Foo.Hello;
	}
}

class Y
{
	public enum Foo { Hello, World };

	public void Test (Foo foo)
	{
		Console.WriteLine (foo);
	}
}
</string>
  </Examples>
</ErrorDocumentation>