Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1998.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a61ced73dfdd2ae36ff4f778f64aea1da43ad4ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS1998: Async block lacks `await' operator and will run synchronously
// Line: 10
// Compiler options: -warnaserror

using System;
using System.Threading.Tasks;

class C
{
	static async Task<int> Method ()
	{
		return 0;
	}
	
	public static void Main ()
	{
	}
}