Skip to content

Commit

Permalink
Added a few comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
rstam committed Aug 16, 2012
1 parent 34b7e87 commit e1e12a3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Driver/Linq/Expressions/ExpressionNormalizer.cs
Expand Up @@ -61,6 +61,7 @@ protected override Expression VisitBinary(BinaryExpression node)
{
node = EnsureConstantIsOnRight(node);

// VB lifts comparisons of Nullable<T> values and C# does not, so unlift them
if (node.Type == typeof(Nullable<bool>))
{
switch (node.NodeType)
Expand All @@ -75,9 +76,9 @@ protected override Expression VisitBinary(BinaryExpression node)
node.NodeType,
node.Left,
node.Right,
false,
null,
null);
false, // liftToNull
null, // method
null); // conversion
break;
}
}
Expand Down

0 comments on commit e1e12a3

Please sign in to comment.