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

cs1676.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 99d2a43df5e7431f22d05996c31963fcb3644d70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs1676.cs: Parameter `1' must be declared with the `ref' keyword
// Line: 11
//
// The delegate has an explicit signature, so it can not be assigned.
//
delegate void D (ref int x);

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