Request.QueryString VB to C# bug

2 posts, 0 answers
  1. temp
    temp avatar
    1 posts
    Member since:
    Oct 2010

    Posted 15 Oct 2010 Link to this post

    Request.QueryString("id") in VB is getting converted to

    Request.QueryString("id") in C#. It should've been -


  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 25 Oct 2010 Link to this post

    This is actually a limit of the underlying NRefactory engine that powers the Code Converter. I suggest you request this support on the SharpDevelop forums: You can further test the NRefactory engine using the simple converter provided by the core team:

    We actually do a little "enhancing" of the NRefactory conversions to look for special cases like this (changing parenthesis to brackets). We catch it is some cases, such as Session("key"), but our support is not exhaustive. We'll try to cover more scenarios while we wait on full support in the engine.

    Hope that helps.

Back to Top