# AddExtraAOTTypes(Type, HashSet<string>)

> Internal method used for populating closed forms of generic equality methods to ensure IL2CPP can generate transpiled implementations and ensure they are not-stripped from builds.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public static void AddExtraAOTTypes(Type type, HashSet<string> output)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): Type to close**** (\[HashSet\<string>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.hashset-1)): Set of fully qualified closed generic type names to preserve
