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
Merge pull request #4202 from marek-safar/compression
[mono-project.git]
/
mcs
/
errors
/
cs0165-2.cs
blob
9eb32e91e14b86f6f1c14271133e5f78a5028d3c
1
// CS0165: Use of unassigned local variable `x'
2
// Line: 16
3
4
class
T
{
5
void
fun
(
ref int
a
)
6
{
7
if
(
a
==
3
)
8
a
=
2
;
9
}
10
11
void
x
()
12
{
13
int
x
;
14
15
if
(
System
.
Console
.
Read
() ==
1
)
16
x
=
1
;
17
fun
(
ref
x
);
18
}
19
}