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
add monotouch sources file
[mcs.git]
/
errors
/
cs1643.cs
blob
fbb8facd83bf7331305f99c44321a5fdc347782b
1
// cs1643.cs: Not all code paths return a value in anonymous method of type `X.T'
2
// Line: 12
3
using
System
;
4
5
class
X
{
6
delegate int
T
();
7
8
static void
Main
()
9
{
10
int
a
=
1
;
11
12
T t
=
delegate
{
13
if
(
a
==
1
)
14
return
1
;
15
};
16
}
17
}