Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VB -> C#: Char(34) converted to """ without proper escaping #1135

Closed
elize1979 opened this issue Sep 28, 2024 · 0 comments
Closed

VB -> C#: Char(34) converted to """ without proper escaping #1135

elize1979 opened this issue Sep 28, 2024 · 0 comments
Labels
VB -> C# Specific to VB -> C# conversion

Comments

@elize1979
Copy link

VB.Net input code

s = Char(34)

Erroneous output

s = """

Expected output

s = "\""

Details

  • VS Extension version 9.2.6
  • Is this regression? I don't know, never tried before

Visual Studio details (paste from the Copy button from the About dialog)

Microsoft Visual Studio Community 2022
Version 17.11.4
VisualStudio.17.Release/17.11.4+35312.102
Microsoft .NET Framework
Version 4.8.09032

Installed Version: Community

ASP.NET and Web Tools 17.11.231.19466
ASP.NET and Web Tools

Azure App Service Tools v3.0.0 17.11.231.19466
Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools 17.11.231.19466
Azure Functions and Web Jobs Tools

C# Tools 4.11.0-3.24460.3+5649376e0e5f5db3743a94a62b073f2cce4be5d9
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Code Converter 1.0
Code Converter Extension Details

Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GitHub Copilot 0.2.1653.9816
GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet Package Manager 6.11.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Razor (ASP.NET Core) 17.11.3.2442001+68650a7d94261bc56a1f4bc522c2ee35314b1abb
Provides languages services for ASP.NET Core Razor.

SQL Server Data Tools 17.11.47.0
Microsoft SQL Server Data Tools

TypeScript Tools 17.0.30715.2002
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools 4.11.0-3.24460.3+5649376e0e5f5db3743a94a62b073f2cce4be5d9
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 17.11.0-beta.24421.7+af2f522de602281d4ef5a7b71507c428e814c5c1
Microsoft Visual F# Tools

Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.

VisualSVN 8.3.3
Integration with Subversion version control. For more information about VisualSVN, see the VisualSVN website at https://www.visualsvn.com
Copyright © 2024 VisualSVN Software Ltd. All rights reserved.

@elize1979 elize1979 added the VB -> C# Specific to VB -> C# conversion label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VB -> C# Specific to VB -> C# conversion
Projects
None yet
Development

No branches or pull requests

1 participant