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
/
cs1625-2.cs
blob
0058a28ed906145be0343c25e02e10cdf915ea2d
1
// CS1625: Cannot yield in the body of a finally clause
2
// Line: 16
3
4
using
System
;
5
using
System
.
Collections
;
6
7
class
X
8
{
9
public static
IEnumerable
Test
(
int
a
)
10
{
11
try
{
12
;
13
}
finally
{
14
try
{
15
yield return
0
;
16
}
17
finally
{}
18
}
19
}
20
}