We're updating the issue view to help you get more done. 

Provide an automatic transformation for VB's Information.IsNothing handler

Description

Support for Visual Basic .NET queries containing expressions that use the IsNothing(...) method (rather than the Is Nothing operator) is added via a transformation implemented in the VBInformationIsNothingExpressionTransformer class. The transformation, which is enabled by default, replaces expressions calling the IsNothing method to BinaryExpressions comparing with a null constant.

That way, expressions similar to the following will now produce "normalized" expression trees:

1 Where IsNothing(emp.ReportsTo)

The expression tree created by the transformation is equivalent to that produced by:

1 Where emp.ReportsTo Is Nothing

For LINQ providers customizing the expression tree preprocessing steps applied by the re-linq front-end, add an instance of the VBInformationIsNothingExpressionTransformer class to the ExpressionTransformationStep.

Status

Assignee

Fabian Schmied

Reporter

Fabian Schmied

Components

Fix versions

Priority

Normal
Configure