projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git]
/
mcs
/
errors
/
cs0407-2.cs
1
// CS0407: A method or delegate `int X.f(int)' return type does not match delegate `object X.Function(int)' return type
2
// Line: 17
3
4
using System;
5
6
class X
7
{
8
public delegate object Function(int arg1);
9
10
static void Main ()
11
{
12
Delegate d = new Function (f);
13
}
14
15
static int f (int a)
16
{
17
return 1;
18
}
19
}