<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0119</ErrorName>
  <Examples>
    <string>// CS0119: Expression denotes a `variable', where a `type' or `method group' was expected
// Line: 10

delegate void D ();

class C
{
    public void Foo (int i)
    {
        D d = new D (i);
    }
}
</string>
    <string>// CS0119: Expression denotes a `type parameter', where a `variable', `value' or `type' was expected
// Line: 15

class A
{
	public class T
	{
	}
}

class B&lt;T&gt; : A
{
	void Foo ()
	{
		T.Equals (null, null);
	}
}
</string>
    <string>// CS0119: Expression denotes a `method group', where a `variable', `value' or `type' was expected
// Line: 8

class C
{
	static void Main ()
	{
		throw Main;
	}
}
</string>
    <string>// CS0119: Expression denotes a `variable', where a `type' was expected
// Line: 8

class A
{
	public void f ()
        {
                this.test bad = null;
        }
	static void Main () {}
}

</string>
    <string>// CS0119: Expression denotes a `type parameter', where a `variable', `value' or `type' was expected
// Line: 8

class C
{
	static void Foo&lt;T&gt; ()
	{
		T.ToString ();
	}
}
</string>
    <string>// CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected
// Line: 10

class A
{
	delegate string Test (string t);

	public static void Main ()
	{
		Test ("t");
	}
}
</string>
    <string>// CS0119: Expression denotes a `variable', where a `method group' was expected
// Line: 11

using System;

class X
{
	static void Main ()
	{
		Delegate d = null;
		Console.WriteLine (d (null, null));
	}
}
</string>
    <string>// CS0119: Expression denotes a `variable', where a `type' was expected
// Line: 9

class A
{
        private string test;
	public void f ()
        {
                this.test bad = null;
        }
	static void Main () {}
}

</string>
    <string>// CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected
// Line: 14

using System;

namespace Test
{
	public delegate void SomeDel (Action a);

	public class TestClass
	{
		public void TestMethod ()
		{
			SomeDel (() =&gt; { });
		}
	}
}</string>
    <string>// CS0119: Expression denotes a `namespace', where a `variable', `value' or `method group' was expected
// Line: 8

class X
{
	public static void Main ()
	{
		System.Collections.Generic ("");
	}
}</string>
    <string>// CS0119: Expression denotes a `type', where a `variable' or `value' was expected
// Line: 15

class A
{
	public class D
	{
	}
}

class B
{
	public B ()
	{
		A.D = 2;
	}
}
</string>
  </Examples>
</ErrorDocumentation>