a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
290 B
C#
18 lines
290 B
C#
// 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;
|
|
}
|
|
}
|