<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0308</ErrorName>
  <Examples>
    <string>// CS0308: The non-generic type `NamingContext' cannot be used with the type arguments
// Line: 6

class Program
{
	static NamingContext&lt;int&gt; Lookup ()
	{
		return null;
	}
}

class NamingContext
{
}</string>
    <string>// CS0308: The non-generic type `System.DateTime' cannot be used with the type arguments
// Line: 8

using System;

class X
{
	DateTime&lt;int&gt; now;
}
</string>
    <string>// CS0308: The non-generic type `Stack' cannot be used with the type arguments
// Line: 9

class Stack
{ }

class X
{
	Stack&lt;float&gt; stack;
}
</string>
    <string>// CS0308: The non-generic method `X.Foo()' cannot be used with the type arguments
// Line: 12

class X
{
	public void Foo ()
	{
	}
	
	void Test ()
	{
		Foo&lt;int&gt; ();
	}
}
</string>
    <string>// CS0308: The non-generic type `BaseGeneric&lt;T&gt;.InnerDerived' cannot be used with the type arguments
// Line: 19

class BaseGeneric&lt;T&gt;
{
	public class InnerDerived
	{
	}
}

class BaseConcrete : BaseGeneric&lt;string&gt;
{
}

class Program
{
    static void Main ()
    {
        new BaseConcrete.InnerDerived&lt;int&gt;();
    }
}
</string>
    <string>// CS0308: The non-generic type `Foo' cannot be used with the type arguments
// Line: 16

public class Foo
{
	public string Test&lt;T&gt; ()
	{
		return null;
	}
}

public static class Driver
{
	static object UseBrokenType ()
	{
		return Foo&lt;int&gt; ().Test ();
	}
}
</string>
    <string>// CS0308: The non-generic method `C.TestCall(int)' cannot be used with the type arguments
// Line: 13

class C
{
	static void TestCall (int i)
	{
	}
	
	public static void Main ()
	{
		dynamic d = 0;
		TestCall&lt;int&gt; (d);
	}
}
</string>
    <string>// CS0308: The non-generic type `Test.NonGeneric' cannot be used with the type arguments
// Line: 8

public class Test
{
	public static void Main (string[] args)
	{
		NonGeneric dummy = new NonGeneric&lt;string&gt; ();
	}

	internal class NonGeneric
	{
	}
}
</string>
    <string>// CS0308: The non-generic type `N1.A' cannot be used with the type arguments
// Line: 11
namespace N1
{
	class A
	{ }
}

namespace N3
{
	using W = N1.A&lt;int&gt;;

	class X
	{
		static void Main ()
		{
		}
	}
}
</string>
  </Examples>
</ErrorDocumentation>