projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* default.build: Fix relative path to key. Avoid use of ugly foreach
[mono.git]
/
mcs
/
errors
/
cs0165-2.cs
1
// cs0165.cs: 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
}