blob: 7035c189cec1d09a36e8a1abf3be6712d3ffb0b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// CS1662: Cannot convert `lambda expression' to delegate type `D' because some of the return types in the block are not implicitly convertible to the delegate return type
// Line: 12
using System;
delegate int D (int i);
class X
{
static void Main ()
{
D d = (int l) => Main ();
}
}
|