|
Browse by Tags
All Tags » Code conversion » #develop 2.1 ( RSS)
-
The following code in VB If a>1 then a=a+1 End If is converted to C# as if ( a>1) { a=a+1 } The bracket is always in the next line regardless of the PrettyPrintOptions To fix the bug, you need to simply change nodeTracker.TrackedVisit(stmt, null ); to nodeTracker.TrackedVisit(stmt, prettyPrintOptions...
-
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)
|
|
|