blob: f31dced91b59aba4c5aae62631cff55ef4abe6b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// CS1661: Cannot convert `anonymous method' to delegate type `D' since there is a parameter mismatch
// Line: 9
delegate void D (int x);
class X {
static void Main ()
{
D d2 = delegate (ref int x) {};
}
}
|