2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0177-4.cs
blob71c4d057fcb81522017a3709f9badbc02c45553f
1 // cs0177-4.cs: The out parameter `f' must be assigned to before control leaves the current method
2 // Line: 5
4 class C {
5 public static void test (int a, out float f)
7 do {
8 // CS0177
9 if (a == 8) {
10 System.Console.WriteLine ("Hello");
11 return;
13 } while (false);
15 f = 1.3F;
16 return;