Author: marek Date: 2008-01-21 14:31:05 -0500 (Mon, 21 Jan 2008) New Revision: 93437
Modified: trunk/mcs/class/System.Core/System.Linq.Expressions/BinaryExpression.cs Log: 2008-01-21 Marek Safar <[EMAIL PROTECTED]> * BinaryExpression.cs: Fixed initobj initialization. Modified: trunk/mcs/class/System.Core/System.Linq.Expressions/BinaryExpression.cs =================================================================== --- trunk/mcs/class/System.Core/System.Linq.Expressions/BinaryExpression.cs 2008-01-21 19:18:43 UTC (rev 93436) +++ trunk/mcs/class/System.Core/System.Linq.Expressions/BinaryExpression.cs 2008-01-21 19:31:05 UTC (rev 93437) @@ -264,6 +264,7 @@ Label skip = ig.DefineLabel (); ig.Emit (OpCodes.Br_S, skip); ig.MarkLabel (empty_value.Value); + ig.Emit (OpCodes.Ldloc, ret); ig.Emit (OpCodes.Ldloca, ret); ig.Emit (OpCodes.Initobj, Type); _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches