Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C# code > C# code > Reverse engineering legacy C# code > Mapping information > Enumeration literal mapping for C# (C# code)
  
Enumeration literal mapping for C# (C# code)
ACS generates Enumeration Literals as part of the parent enum definition.
ACS generates the child items, properties and tagged values of an Enumeration Literal as follows.
Child items:
An Enumeration Literal does not have any child items.
Properties:
The Description property is ignored.
ACS generates the Name property as the identifier of the enum member.
* 
ACS may modify the identifier that is added to the code to make it valid for C#. You can specify the exact identifier to use through the CODE_GENERATION_NAME property of an Enumeration Literal. Tell me more...
Tag Definitions:
If the «C# Enum Member» stereotype is applied to the Enumeration Literal, you can specify a constant expression for the enum member. The «C# Enum Member» stereotype applies the following Tag Definitions to an Enumeration Literal:
If a value is set for the tagged value of the C# Value tag definition, ACS generates the value as the constant expression for the enum member.