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

cs1951.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c1040f83efd2e31e970b2f1ca6ce75e900f0527e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS1951: An expression tree parameter cannot use `ref' or `out' modifier
// Line: 13

using System;
using System.Linq.Expressions;

class C
{
	delegate int D (ref int a);
	
	public static void Main ()
	{
		Expression<D> e = (ref int a) => a;
	}
}