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
2009-09-02 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0029-6.cs
blob
a1a04fe4fbbee0cf2beb483af758b14210cec9b3
1
// CS0029: Cannot implicitly convert type `string' to `int'
2
// Line: 28
3
4
5
delegate string
funcs
(
string
s
);
6
delegate int
funci
(
int
i
);
7
8
class
X
9
{
10
static void
Foo
(
funci fi
)
11
{
12
}
13
14
static void
Foo
(
funcs fs
)
15
{
16
}
17
18
static void
Main
()
19
{
20
Foo
(
x
=> {
21
int
a
=
"a"
;
22
return
2
;
23
});
24
}
25
}