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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0407-7.cs
blob
e6869b03731d46425534c9476c1ea4de156c47f6
1
// CS0407: A method or delegate `dynamic Program.Foo()' return type does not match delegate `string System.Func<string>()' return type
2
// Line: 10
3
4
using
System
;
5
6
class
Program
7
{
8
static void
Main
()
9
{
10
Func
<
string
>
d
=
Foo
;
11
}
12
13
static dynamic
Foo
()
14
{
15
return
1
;
16
}
17
}