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
[loader] LoadFrom of problematic images should reprobe
[mono-project.git]
/
mcs
/
errors
/
cs1643.cs
blob
261339411f351f15f7e373270d2db65b1d8e0182
1
// CS1643: 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
}