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

cs1677.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 90b8b3ef85d102620ee379b7b3d3068c02873972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs1677: out parameters are not permitted on anonymous delegate declarations.
// Line: 11
//
// The delegate has an explicit signature, so it can not be assigned.
//
delegate void D (int x);

class X {
	static void Main ()
	{
		D d2 = delegate (out int x) {};
	}
}