summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1688.cs
blob: f9a3db3683cfb725716a5724e9fea329f157e481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS1688: Cannot convert anonymous method block without a parameter list to delegate type `C.WithOutParam' because it has one or more `out' parameters
// Line: 10

class C
{
	delegate void WithOutParam (out string value);

    static void Main() 
    {
        WithOutParam o = delegate
			{ 
				return;
			};
    }
}