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

BUG: Nullable Property Generation

1 Answer 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Santiago Moscoso
Top achievements
Rank 1
Santiago Moscoso asked on 18 Mar 2010, 05:03 PM
We are working with VS2005 with VB.NET an using Telerik JustCode 2010.1.223.0
The issue is that when I select a nullable variable it uses C# '?' notation wich is not suported on VB.NET

Using the "Create Set/Get property" on this
Private _SomeVar As Nullable(Of Integer

Generates this
Public Property SomeVar() As Integer
    Get 
        Return _SomeVar 
    End Get 
    Set(ByVal Value As Integer?) 
        _SomeVar = Value 
    End Set 
End Property 
Wich is not valid. Instead of
Public Property SomeVar() As Nullable(Of Integer
    Get 
        Return _SomeVar 
    End Get 
    Set(ByVal Value As Nullable(Of Integer)) 
        _SomeVar = Value 
    End Set 
End Property 

1 Answer, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 22 Mar 2010, 04:00 PM
Hello Santiago,

Thanks for taking the time to bring this bug to our knowledge. It will be fixed for the service pack. I have added some Telerik points to your account to compensate for your efforts.


All the best,
Jordan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Santiago Moscoso
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Share this question
or