paul1956 / CSharpToVB

New version of CSharpToVB converter
MIT License
25 stars 9 forks source link

Property errors #39

Closed VBAndCs closed 4 years ago

VBAndCs commented 4 years ago

C#:

public virtual string Name { get; protected set; }

VB:

 Option Compare Text
Option Explicit On
Option Infer Off
Option Strict On
Private _name As String
Public Overridable Property Name As String
    Private Get
        Return _name
    End Get
    Protected Set(Value As String)
        Name = _name
    End Set
End Property

Why adding Private to the set?.. It causes errors.

also 'Name = _name Must be:_name = Value`

paul1956 commented 4 years ago

Will be fixed in 4.2.11.0, Converter 3.3.0.0