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-4.cs
blob
8f5f4e4af610e7e18799d4b045b250760f4eb7ce
1
// CS0157: Control cannot leave the body of a finally clause
2
// Line: 11
3
4
class
T
{
5
static void
Main
()
6
{
7
while
(
true
) {
8
try
{
9
System
.
Console
.
WriteLine
(
"trying"
);
10
}
finally
{
11
goto
foo
;
12
}
13
foo
:
14
;
15
}
16
}
17
}