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: dec36af875752dc562bc2d728db1cf632f60e990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// cs1628.cs: Cannot use ref or out parameter `a' inside an anonymous method block
// Line: 15
using System;

delegate void D ();

class X {
	static void Main ()
	{
	}

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