<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0201</ErrorName>
  <Examples>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 13

class C&lt;T&gt;
{
	static T Test ()
	{
		return default (T);
	}
	
	public static void Main ()
	{
		Test ().Foo;
	}
}
</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 9

public class X
{
	public static void Main ()
	{
		return;
		1+1;
	}
}</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 7

class T {
        static string XX;
        static void Main () {
                T.XX;
        }
}
</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 10

using System;

class X
{
	public static void Main ()
	{
		new Func&lt;int&gt; (() =&gt; 0);
	}
}</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 10

using System.Linq;

class C
{
	public static void Main ()
	{
		from s in "string" select s;
	}
}</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 7

class T {
        static string XX {
                get {return "";}
        }
        static void Main () {
                T.XX;
        }
}
</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 11

using System;

public class X
{
	public static void Main ()
	{
		2 * 3;
	}
}
</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 10

class TestClass
{
	delegate void test_delegate (int arg);

	public TestClass ()
	{
		test_delegate D = (b) =&gt; "a";
	}
}

</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 8

class MainClass
{
	public static void Main ()
	{
		for (int i = 0; i++; i &lt; 8) {
		}
	}
}

</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 11

using System;
using System.Threading.Tasks;

class C
{
	async Task&lt;int&gt; Test ()
	{
		Func&lt;int&gt; r = await Task.Factory.StartNew (() =&gt; () =&gt; 1);
	}
}
</string>
    <string>// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
// Line: 9

class D
{
	void Foo ()
	{
		System.Threading.Tasks.TaskFactory m = null;
		m.StartNew (() =&gt; delegate { });
	}
}
</string>
  </Examples>
</ErrorDocumentation>