projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[threadpool] Pass callback at initialization (#4546)
[mono.git]
/
mcs
/
errors
/
cs0407-7.cs
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
}