repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs1503-8.cs
blob
72df4c7a5ef5792e060109f3b8746576f4307f9b
1
// CS1503: Argument `#1' cannot convert `method group' expression to type `IInterface'
2
// Line: 15
3
4
public delegate void
Del
();
5
6
public interface
IInterface
7
{
8
void
Do
();
9
}
10
11
public static class
Test
12
{
13
public static void
Do
(
IInterface val
)
14
{
15
Do
(
val
.
Do
);
16
}
17
}