blob: be21c2901a5465492b745676ba1b91d095a2579a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// CS0177: The out parameter `f' must be assigned to before control leaves the current method
// Line: 5
class C {
public static void test (int a, out float f)
{
do {
// CS0177
if (a == 8) {
System.Console.WriteLine ("Hello");
return;
}
} while (false);
f = 1.3F;
return;
}
}
|