<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS4011</ErrorName>
  <Examples>
    <string>// CS4011: The awaiter type `int' must have suitable IsCompleted and GetResult members
// Line: 16

static class S
{
	public static int GetAwaiter (this int i)
	{
		return 1;
	}
}

class A
{
	static async void Test ()
	{
		await 9;
	}
}
</string>
    <string>// CS4011: The awaiter type `int' must have suitable IsCompleted and GetResult members
// Line: 16

static class S
{
	public static int GetAwaiter (this int i)
	{
		return 1;
	}
}

class A
{
	static async void Test ()
	{
		await 9;
	}
}
</string>
    <string>// CS4011: The awaiter type `A' must have suitable IsCompleted and GetResult members
// Line: 16

static class S
{
	public static A GetAwaiter (this int i)
	{
		return new A ();
	}
}

class A
{
	bool IsCompleted {
		get {
			return true;
		}
	}
	
	void OnCompleted (System.Action a)
	{
	}
	
	static async void Test ()
	{
		await 9;
	}
}
</string>
    <string>// CS4011: The awaiter type `A' must have suitable IsCompleted and GetResult members
// Line: 16

static class S
{
	public static A GetAwaiter (this int i)
	{
		return new A ();
	}
}

class A
{
	int IsCompleted {
		get {
			return 1;
		}
	}
	
	static async void Test ()
	{
		await 9;
	}
}
</string>
  </Examples>
</ErrorDocumentation>