SharpDevelop Community

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

Browse by Tags

All Tags » convert (RSS)
  • Error when converting a C# .Net 3.5 project to VB in #develop 3.0.0.2745

    Following is the error output I get when attempting to convert a .Net 3.5 C# project (which to be fair only hit RTM today) to VB: SharpDevelop Version : 3.0.0.2745 .NET Version : 2.0.50727.1378 OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2 Current culture : English (South Africa) (en-ZA)...
    Posted to Forum by Synkronos on 11-20-2007
    Filed under: convert
  • 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
  • Re: VB CInt() convert to C# is an int cast but should be Convert.ToInt()

    Recall the cast (int)( expr ) is the wrong answer for VB CInt( expr ) to C# -- i.e, should be Convert.ToInt32( expr ) . Still, to answer the question, the following types for expr can be specified for the explicit cast to int (more to come :-) ): (int)( long_expr ) (int)( ulong_expr ) (int)( float_expr...
    Posted to Forum by harrystein on 03-05-2008
    Filed under: Translation, Code conversion, Visual Basic, convert
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.