SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Browse by Tags

All Tags » #develop 2.2 » Code conversion (RSS)
  • Code conversion bug for ElseIf and the way to fix it

    else if statement is converted without proper indentation. To fix the tiny bug, you need to a line to CSharpOutputVisitor.VisitElseIfSection and VBNetOutputVisitor.VisitElseIfSection as follows: public object VisitElseIfSection(ElseIfSection elseIfSection, object data) { outputFormatter.Indent(); Charles...
    Posted to Forum by charles zhang on 08-13-2007
    Filed under: Code conversion, #develop 2.2
  • VB CInt() convert to C# is an int cast but should be Convert.ToInt()

    Running 2.2 I see this issue (and assume it remains with latest build as 'Search' does not show any results). CInt() is converted by SharpDevelop 2.2 to a simple int cast, which is plan and simply wrong. By the way, if you Google around, this notion of the equivalent of CInt() being an (int)...
    Posted to Forum by harrystein on 03-04-2008
    Filed under: Bug report, .Net 2.0 bugs, Translation, Code conversion, bug, #develop 2.1, #develop 2.2, convert, #develop, SharpDevelop 3.0
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.