This is a migrated thread and some comments may be shown as answers.

conversion bug

2 Answers 58 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dan Avni
Top achievements
Rank 1
Dan Avni asked on 16 Nov 2009, 08:56 AM
on CS the code
if (x==null)

is converted to
if x = nothing

which is wrong and should be
if x is nothing

2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 21 Dec 2009, 08:57 AM
Hello Dan,

Indeed you are right - we will look into this and will consider modifying the Telerik converter logic accordingly to address this case. In the meantime please replace the '=' symbol with 'Is' manually.

Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Todd
Telerik team
answered on 20 Jul 2010, 11:53 PM
Hello Dan Avni,

As an update to this thread, the Telerik Code Converter will now properly convert the "== null" to "Is Nothing" in VB. Please give the Converter a try and let us know if you have any additional suggestions for improvement.

-Todd

Tags
Code Converter
Asked by
Dan Avni
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Todd
Telerik team
Share this question
or