Skip to content

VB -> C#: XML literals should be XML-decoded #961

@HeinziAT

Description

@HeinziAT

VB.Net input code

Dim v = <xml>&lt;</xml>.Value

Erroneous output

string v = new XElement("xml", "&lt;").Value;

Expected output

string v = new XElement("xml", "<").Value;

Details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good for coding agentCoding agent might get it in one - small change with reproVB -> C#Specific to VB -> C# conversion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions