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 > Modeling C# code in Modeler > Specifying using directives that cannot be modeled in the model (C# code)
  
Specifying using directives that cannot be modeled in the model (C# code)
1. If you have not done so already, add the C# Profile package to your Model. How?
2. From Modeler, select the Model, Package, Class, Data Type or Interface for which you want to include your own using directives to the generated code file.
3. Apply the appropriate Stereotype to the item:
The «C# Model» stereotype to the Model.
The «C# Package» stereotype to a Package.
The «C# Classifier» stereotype to a Class, Data Type or Interface.
For information about applying Stereotypes to an item, click here Applying a stereotype to a model item
4. Open the item's Property Pages, and then click the tab for the Stereotype you applied.
5. Specify the text of the using directives as the tagged value of the C# Using Directives tag definition.
When you generate code for the item, the text you specified will be included in the appropriate code file.