-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Labels
Good for coding agentCoding agent might get it in one - small change with reproCoding agent might get it in one - small change with reproVB -> C#Specific to VB -> C# conversionSpecific to VB -> C# conversion
Description
VB.Net input code
Dim v = <xml><</xml>.ValueErroneous output
string v = new XElement("xml", "<").Value;Expected output
string v = new XElement("xml", "<").Value;Details
- Product in use: icsharpcode.github.io/CodeConverter
- Version in use: 9.0.4.0
Console.WriteLine(v)outputs<in VB.NET (expected result) and<in C# (actual/erroneous result).- Prior to Visual Studio 2015, XML literals were the canonical workaround to create multi-line strings in VB.NET, so this pattern might (unfortunately) be common in old code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good for coding agentCoding agent might get it in one - small change with reproCoding agent might get it in one - small change with reproVB -> C#Specific to VB -> C# conversionSpecific to VB -> C# conversion