summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1677-2.cs
blob: c005bfd7451172d1873f80387e753ef6fc4c158a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS1677: Parameter `1' should not be declared with the `ref' keyword
// Line: 9


delegate void D (int x);

class X
{
	static void Main ()
	{
		D d2 = (ref int x) => {};
	}
}