paul1956 / CSharpToVB

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

Some bugs when converting C# snippets to Visual Basic #74

Closed elGuille-info closed 3 years ago

elGuille-info commented 3 years ago

Hi Paul,

Incorrect constructor conversion:

        public VentasPlayaWiz() : this(new MKNDatos.Reservas())
        {
        }

Converts to:

        Public Sub New()
            MyBase.New(New MKNDatos.Reservas)
        End Sub

But will be:

    Public Sub New()
        Me.New(New MKNDatos.Reservas)
    End Sub

Hope its helps.

Guillermo

paul1956 commented 3 years ago

@elGuille-info Good catch it is fixed in converter version 5.0.1.16 that was just posted