<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1031</ErrorName>
  <Examples>
    <string>// CS1031: Type expected
// Line: 8

using System;

class M
{
	public static void Main ()
	{
		Type t = typeof (this);
	}
}

</string>
    <string>// CS1031: Type expected
// Line: 4

enum E : this
{
	a = 1
}
</string>
    <string>// CS1031: Type expected
// Line: 8

using System;

class M
{
	public static void Main ()
	{
		Type t = typeof (this);
	}
}

</string>
    <string>// CS1031: Type expected
// Line: 16

public class B&lt;Y&gt;  where Y: B&lt;Y&gt;
{
}

public class A&lt;X&gt;: B&lt;A&lt;X&gt;&gt;
{
}

public class Repro
{
	public static void Main (string[] args)
	{
		var h = typeof (B&lt;A&lt;&gt;&gt;);
	}
}</string>
  </Examples>
</ErrorDocumentation>