Defining a C# Preprocessing Symbol

You can define C# preprocessing symbols in the preprocessing tab of the reverse engineering dialog box.

Symbol names are case sensitive and must be unique. Make sure you do not type reserved words like true, false, if, do and so on.

The list of symbols is saved in the model and will be reused when you synchronize your model with existing code using the Synchronize with Generated Files command.

For more information on the synchronize with generated files command see Synchronizing a Model with Generated Files.

You can use the Set As Default button to save the list of symbols in the registry.

  1. Select Language > Reverse engineering C#.

    The Reverse Engineering C# dialog box is displayed.

  2. Click the Preprocessing tab, then click the Add a row tool to insert a line in the list.
  3. Type symbol names in the Name column.

    The Defined check box is automatically selected for each symbol to indicate that the symbol will be taken into account during preprocessing.



  4. Click Apply.