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
[bcl] Update BCL Linked Size
[mono-project.git]
/
mcs
/
errors
/
cs8070.cs
blob
17fc12ea015d84bcaba263fb48a8b7fab043943d
1
// CS8070: Control cannot fall out of switch statement through final case label `case 3:'
2
// Line: 20
3
4
public class
Foo
5
{
6
public static void
Main
()
7
{
8
int
a
=
5
;
9
int
b
=
10
;
10
int
c
;
11
12
switch
(
a
)
13
{
14
case
1
:
c
=
a
+
b
;
15
return
;
16
17
case
2
:
c
=
a
-
b
;
18
return
;
19
20
case
3
:
c
=
a
*
b
;
21
}
22
}
23
}