blob: 9eb32e91e14b86f6f1c14271133e5f78a5028d3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// CS0165: Use of unassigned local variable `x'
// Line: 16
class T {
void fun (ref int a)
{
if (a == 3)
a = 2;
}
void x ()
{
int x;
if (System.Console.Read () == 1)
x = 1;
fun (ref x);
}
}
|