Issue with nullable types in VB.NET

2 posts, 0 answers
  1. James Moyon
    James Moyon avatar
    10 posts
    Member since:
    Jun 2009

    Posted 14 Jul 2011 Link to this post

    Hello,

    I have just started using JustCode (Q2 2011). In the first VB.NET project I opened, I have a large number of nullable types; JustCode is reporting "VisualBasic.NET: unexpected end of declaration" for all of them:

     

     

     

    Public ReadOnly Property ArchiveItemTypeID() As Integer?
      Get
        Return Me._intArchiveItemTypeID
      End Get
    End Property

    Is this a bug in JustCode? Is there any way I can flag to JustCode that this code is valid?

    Thanks in advance.

  2. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 15 Jul 2011 Link to this post

    Hi James Moyon,

    Thank you for your feedback. We have indeed had some problems with nullable types in Visual Basic, but we have fixed them. That is why it is very strange that you have that kind of a problem. So I would like to ask you whether the problem stays after you select "Refresh Code Analysis" from the JustCode menu? I have also tried to reproduce your problem with that sample code you gave us, but it works fine. So if the problem is still there after refresh could you send me a sample solution with that problem? As for the ability to ignore errors- you can do that- here is a demo video showing how to do it : http://screencast.com/t/3W0CVwPSIvG
    Your help is highly appreciated!

    Regards,
    Ivan
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
Back to Top