<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS4027</ErrorName>
  <Examples>
    <string>// CS4027: The awaiter type `A' must implement interface `System.Runtime.CompilerServices.INotifyCompletion'
// Line: 33

using System.Threading.Tasks;

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

class A
{
	bool IsCompleted {
		get {
			return true;
		}
	}
	
	public void OnCompleted (System.Action a)
	{
	}

	int GetResult ()
	{
		return 3;
	}
	
	static async Task&lt;int&gt; Test1 ()
	{
		await 1;
	}
}
</string>
  </Examples>
</ErrorDocumentation>