w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git] / mcs / errors / cs0165-49.cs
blob387a2dfb235aeed109dcc4922c16dac2c629393b
1 // CS0165: Use of unassigned local variable `a'
2 // Line: 14
4 class C
6 static void Main ()
8 bool x = true, y = true, z = true;
10 int a;
11 if (x ? y : (z || Foo (out a)))
12 System.Console.WriteLine (z);
13 else
14 System.Console.WriteLine (a);
17 static bool Foo (out int f)
19 f = 1;
20 return true;