projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[msbuild] bump to xplat-master branch HEAD
[mono.git]
/
mcs
/
errors
/
cs0123-3.cs
1
// CS0123: A method or delegate `X.f1(int, object)' parameters do not match delegate `X.Function(int, int)' parameters
2
// Line: 13
3
4
using System;
5
6
class X
7
{
8
public delegate bool Function(int arg1, int arg2);
9
10
static void Main ()
11
{
12
Delegate [] d = new Delegate [] {
13
new Function (f1),
14
};
15
}
16
17
static bool f1 (int a, object b)
18
{
19
return false;
20
}
21
}