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

Issue with nullable types in VB.NET

1 Answer 48 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
James Moyon
Top achievements
Rank 1
James Moyon asked on 15 Jul 2011, 12:53 AM
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.

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 15 Jul 2011, 12:36 PM
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!

Tags
Code Analysis
Asked by
James Moyon
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or