BUG: Nullable Property Generation

Thread is closed for posting
2 posts, 0 answers
  1. Santiago Moscoso
    Santiago Moscoso avatar
    1 posts
    Member since:
    Mar 2010

    Posted 18 Mar 2010 Link to this post

    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
            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
            Return _SomeVar 
        End Get 
        Set(ByVal Value As Nullable(Of Integer)) 
            _SomeVar = Value 
        End Set 
    End Property 

  2. Jordan
    Jordan avatar
    123 posts

    Posted 22 Mar 2010 Link to this post

    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,
    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.
Back to Top