<?xml version="1.0" encoding="iso-8859-1"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS4014</ErrorName>
  <Examples>
    <string>// CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator
// Line: 17
// Compiler options: -warnaserror

using System;
using System.Threading.Tasks;

class C
{
	static Task Method ()
	{
		return Task.FromResult (1);
	}
	
	static void TestAsync ()
	{
		Func&lt;Task&gt; a = async () =&gt; {
			await Method ();
			Method ();
		};
	}
}
</string>
    <string>// CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator
// Line: 18
// Compiler options: -warnaserror

using System;
using System.Threading.Tasks;

class C
{
	static async Task&lt;int&gt; TestAsync ()
	{
		Func&lt;Task&gt; f = null;
		f ();
		return await Task.FromResult (2);
	}
}
</string>
    <string>// CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator
// Line: 12
// Compiler options: -warnaserror

using System;
using System.Threading.Tasks;

class C
{
	static async Task&lt;int&gt; TestAsync ()
	{
		new Task (() =&gt; {});
		return await Task.FromResult (2);
	}
}
</string>
    <string>// CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator
// Line: 18
// Compiler options: -warnaserror

using System;
using System.Threading.Tasks;

class C
{
	static Task Method ()
	{
		return Task.FromResult (1);
	}
	
	static async Task&lt;int&gt; TestAsync ()
	{
		Method ();
		return await Task.FromResult (2);
	}
}
</string>
  </Examples>
</ErrorDocumentation>