[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0177-15.cs
blob310f40523b4e8657b26ea7b9140975c0d5a41a77
1 // CS0177: The out parameter `x' must be assigned to before control leaves the current method
2 // Line: 6
4 public class GotoWithOut
6 public static void Test (bool cond, out int x)
8 if (cond)
10 goto Label2;
12 else
14 goto Label;
16 Label:
17 x = 0;
18 Label2:
19 return;