We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34b7e87 commit e1e12a3Copy full SHA for e1e12a3
Driver/Linq/Expressions/ExpressionNormalizer.cs
@@ -61,6 +61,7 @@ protected override Expression VisitBinary(BinaryExpression node)
61
{
62
node = EnsureConstantIsOnRight(node);
63
64
+ // VB lifts comparisons of Nullable<T> values and C# does not, so unlift them
65
if (node.Type == typeof(Nullable<bool>))
66
67
switch (node.NodeType)
@@ -75,9 +76,9 @@ protected override Expression VisitBinary(BinaryExpression node)
75
76
node.NodeType,
77
node.Left,
78
node.Right,
- false,
79
- null,
80
- null);
+ false, // liftToNull
+ null, // method
81
+ null); // conversion
82
break;
83
}
84
0 commit comments