blob: 1537ce967d004f0597c8fee9d3132f62edbd91c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// CS0407: A method or delegate `int Program.Foo(object)' return type does not match delegate `void System.Action<dynamic>(dynamic)' return type
// Line: 10
using System;
class Program
{
static void Main()
{
Action<dynamic> d = Foo;
}
static int Foo (object o)
{
return 0;
}
}
|