Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

VB -> C#: Enum Values as Integer #1212

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

Description

VB.Net input code

Col("foo") = MyEnum.Value1

Erroneous output

Col("foo") == (MyType)MyEnum.Value1

Expected output

Col("foo") == (MyType)(int)MyEnum.Value1

Details

  • Product in use: codeconv 10.0

VB.NET implicitly uses the Integer Values of Enums, while C# does not.
Like in #1211 I'm not sure if this is something the converter should handle or another case for a custom step for our codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /