2008-01-22 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Tue, 22 Jan 2008 07:01:58 +0000 (07:01 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 22 Jan 2008 07:01:58 +0000 (07:01 -0000)
commitb9b9a664e078c35934efbd8d755f4ae3172fe8be
treefcce01840691f53518c0730103221b3a12154273
parent817d009bff4928d1eb782795c63ca917c36a6723
2008-01-22  Miguel de Icaza  <miguel@novell.com>

* BinaryExpression.cs (EmitCoalesce): Add support for emitting
code for Coalesce.

TODO: this does not use the "Conversion" Lambda, which am not sure
who generates this or what it is used for.

(EmitLogical): Fix a couple of bugs in AndAlso, OrElse.

* Expression.cs: Add support for Coalesce.
(BinaryCoreCheck): Move more checking here, instead of the helper
routines, will remove them next.

* LambdaExpression.cs (Compile): Create the delegate last, so we
manage to save the assembly while debugging in case of error

svn path=/trunk/mcs/; revision=93480
mcs/class/System.Core/System.Core_test.dll.sources
mcs/class/System.Core/System.Linq.Expressions/BinaryExpression.cs
mcs/class/System.Core/System.Linq.Expressions/ChangeLog
mcs/class/System.Core/System.Linq.Expressions/Expression.cs
mcs/class/System.Core/System.Linq.Expressions/LambdaExpression.cs
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_And.cs
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Coalesce.cs [new file with mode: 0644]
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Or.cs