var res = TrueStatement.FlowAnalysis (fc);
if (FalseStatement == null) {
+ var c = expr as Constant;
+ if (c != null && !c.IsDefaultValue)
+ return true_returns;
+
if (true_returns)
fc.DefiniteAssignment = da_false;
else
--- /dev/null
+using System;
+
+class X
+{
+ public static void Main ()
+ {
+ int i;
+ if (true) {
+ i = 3;
+ }
+
+ Console.WriteLine (i);
+
+ int i2;
+ if (false) {
+ throw new ApplicationException ();
+ } else {
+ i2 = 4;
+ }
+
+ Console.WriteLine (i2);
+ }
+}
\ No newline at end of file