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

Couple of issues

1 Answer 60 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jose Simas
Top achievements
Rank 2
Jose Simas asked on 05 Apr 2010, 10:23 AM
Hi,

This is a great tool you guys have here! I found a couple of issues that you may want to correct when converting from c# to vb:

1. Regions are not translated properly, for example:

#region Implementation of IMyInterface

translates to 

#Region Implementation of IMyInterface

and should translate to:

#Region "Implementation of IMyInterface"

2. Imports nested inside a namespace are not moved to the top of the file in vb, for example:

namespace MyNamespace
{
    using System;
    using System.Data;
}

Converts to:

Namespace MyNamespace
Imports System
Imports System.Data
End Namespace

And should translate to:

Imports System
Imports System.Data
Namespace MyNamespace

End Namespace

I hope this helps.



1 Answer, 1 is accepted

Sort by
0
Todd
Telerik team
answered on 16 Apr 2010, 08:16 PM
Hi Jose Simas,

Thanks for the feedback. These conversion issues are related the underlying conversion engine (NRefactory, from the SharpDevelop project), but we'll definitely see what we can do to address them. In the mean time, it's always valuable to post feedback in the SharpDevelop community forums, too, so I encourage you to do that.

Thanks for using the Code Converter.

-Todd

Tags
Code Converter
Asked by
Jose Simas
Top achievements
Rank 2
Answers by
Todd
Telerik team
Share this question
or