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

public class App {

  public static void Main() {}

  SomeEnum SomeEnum() {
    return SomeEnum.First;
  }

}

enum SomeEnum { First, Second };
</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 `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 `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 `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 `type', where a `variable', `value' or `method group' was expected
// Line: 8

class C
{
	public static void Main ()
	{
		int i = (C) +1;
	}
}
</string>
    <string>// cs0119.cs: Expression denotes a `method group', where a `variable', `value' or `type' was expected
// Line: 14

using System;

public class Test
{
    public static void E () 
    { 
    }

    public static void Main () 
    {
        Console.WriteLine(E.x);
    }
}
</string>
  </Examples>
</ErrorDocumentation>