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

cs4005-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 920f1b0a82819face5b09804c6e2c5ae67211a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS4005: Async methods cannot have unsafe parameters
// Line: 11
// Compiler options: -unsafe

class C
{
	unsafe delegate void D (int* i);
	
	public static void Main ()
	{
		D d = async delegate { };
	}
}