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

cs1628.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 14762da603c6150b2573791fc9e7a7a4950d74cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// cs1628: Can not access `ref' or `out' parameters in an anonymous method
// Line: 15
using System;

delegate void D ();

class X {
	static void Main ()
	{
	}

	static void Host (ref int a)
	{
		D b = delegate {
			a = 1;
		};
	}
}