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
Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git]
/
mcs
/
errors
/
cs0123-9.cs
blob
e11d18cc209cb6513a3af34771aa6dad8f9a511f
1
// CS0123: A method or delegate `Program.method(A)' parameters do not match delegate `D(dynamic)' parameters
2
// Line: 19
3
4
delegate object
D
(
dynamic
b
);
5
6
class
A
7
{
8
}
9
10
class
Program
11
{
12
static string
method
(
A a
)
13
{
14
return
""
;
15
}
16
17
static void
Main
()
18
{
19
var
d
=
new
D
(
method
);
20
}
21
}