-
Notifications
You must be signed in to change notification settings - Fork 238
VB -> C#: Enum Values as Integer #1212
Open
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
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.