Skip to content

Commit e1e12a3

Browse files
author
rstam
committed
Added a few comments.
1 parent 34b7e87 commit e1e12a3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Driver/Linq/Expressions/ExpressionNormalizer.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ protected override Expression VisitBinary(BinaryExpression node)
6161
{
6262
node = EnsureConstantIsOnRight(node);
6363

64+
// VB lifts comparisons of Nullable<T> values and C# does not, so unlift them
6465
if (node.Type == typeof(Nullable<bool>))
6566
{
6667
switch (node.NodeType)
@@ -75,9 +76,9 @@ protected override Expression VisitBinary(BinaryExpression node)
7576
node.NodeType,
7677
node.Left,
7778
node.Right,
78-
false,
79-
null,
80-
null);
79+
false, // liftToNull
80+
null, // method
81+
null); // conversion
8182
break;
8283
}
8384
}

0 commit comments

Comments
 (0)