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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs0157-5.cs
blob
b3afc6c4d01ee41c1139b87b4910f0cf64a21bd4
1
// CS0157: Control cannot leave the body of a finally clause
2
// Line: 12
3
4
class
T
{
5
static void
Main
()
6
{
7
while
(
true
) {
8
try
{
9
System
.
Console
.
WriteLine
(
"trying"
);
10
}
finally
{
11
try
{
12
break
;
13
}
14
catch
{}
15
}
16
}
17
}
18
}