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
/
cs0165-5.cs
blob
5946c7cc160848dd2e96bbfe5a6b183f1f2dedc9
1
// cs0165-5.cs: Use of unassigned local variable `a'
2
// Line: 9
3
4
using
System
;
5
6
class
C
{
7
public static int
test5
()
8
{
9
int
a
;
10
11
try
{
12
Console
.
WriteLine
(
"TRY"
);
13
a
=
8
;
14
}
catch
{
15
a
=
9
;
16
}
finally
{
17
// CS0165
18
Console
.
WriteLine
(
a
);
19
}
20
21
return
a
;
22
}
23
}