conversion bug

3 posts, 0 answers
  1. Dan Avni
    Dan Avni avatar
    18 posts
    Member since:
    Apr 2005

    Posted 16 Nov 2009 Link to this post

    on CS the code
    if (x==null)

    is converted to
    if x = nothing

    which is wrong and should be
    if x is nothing
  2. Sebastian
    Sebastian avatar
    9934 posts

    Posted 21 Dec 2009 Link to this post

    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,
    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.
  3. Todd
    Todd avatar
    66 posts

    Posted 20 Jul 2010 Link to this post

    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.


Back to Top