* nullable.cs (LiftedBinaryOperator): Check for all possible null
expressions.
svn path=/trunk/mcs/; revision=123624
+2009-01-16 Marek Safar <marek.safar@gmail.com>
+
+ * nullable.cs (LiftedBinaryOperator): Check for all possible null
+ expressions.
+
2009-01-15 Marek Safar <marek.safar@gmail.com>
A fix for bug #466634
// Arguments can be lifted for equal operators when the return type is bool and both
// arguments are of same type
//
- if (left is NullLiteral) {
+ if (left_orig.IsNull) {
left = right;
left_null_lifted = true;
type = TypeManager.bool_type;
}
- if (right is NullLiteral) {
+ if (right_orig.IsNull) {
right = left;
right_null_lifted = true;
type = TypeManager.bool_type;