<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0402</ErrorName>
  <Examples>
    <string>// CS0402: `TestClass&lt;T&gt;.Main()': an entry point cannot be generic or in a generic type
// Line: 7
// Compiler options: -warnaserror -warn:4

class TestClass&lt;T&gt;
{
    public static void Main ()
    {
    }
}</string>
    <string>// CS0402: `C.Main&lt;T,U&gt;()': an entry point cannot be generic or in a generic type
// Line: 7
// Compiler options: -warnaserror -warn:4

class C
{
    public static void Main&lt;T, U&gt; ()
    {
    }
}</string>
  </Examples>
</ErrorDocumentation>