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
[ci] Only build the additional profiles on one arch instead of everywhere
[mono-project.git]
/
mcs
/
errors
/
cs1625-3.cs
blob
f1bb5daa8dca728047fd470dd42ba1f18689bb97
1
// CS1625: Cannot yield in the body of a finally clause
2
// Line: 13
3
using
System
;
4
using
System
.
Collections
;
5
6
class
X
7
{
8
public static
IEnumerable
Test
(
int
a
)
9
{
10
try
{
11
;
12
}
finally
{
13
yield break
;
14
}
15
}
16
17
static void
Main
()
18
{
19
IEnumerable a
=
Test
(
3
);
20
Console
.
WriteLine
(
a
);
21
}
22
}