"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / errors / cs0165-52.cs
blob904f7db487b0eff999f302d7d71784e10f04543f
1 // CS0165: Use of unassigned local variable `x'
2 // Line: 21
4 using System;
6 class X
8 static bool Foo (out int x)
10 x = 5;
11 return false;
14 public static int Main ()
16 int x;
17 try {
18 throw new ApplicationException ();
19 } catch when (Foo (out x)) {
20 return 1;
21 } catch when (x > 0) {
22 return 0;