repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git]
/
mcs
/
errors
/
cs0407-6.cs
blob
1537ce967d004f0597c8fee9d3132f62edbd91c2
1
// CS0407: A method or delegate `int Program.Foo(object)' return type does not match delegate `void System.Action<dynamic>(dynamic)' return type
2
// Line: 10
3
4
using
System
;
5
6
class
Program
7
{
8
static void
Main
()
9
{
10
Action
<
dynamic
>
d
=
Foo
;
11
}
12
13
static int
Foo
(
object
o
)
14
{
15
return
0
;
16
}
17
}