# GetIEquatable_GetHashCodeFn(TypeIndex)

> Used by codegen

## Definition

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

```csharp
public static FunctionPointer<FastEquality.TypeInfo.GetHashCodeDelegate> GetIEquatable_GetHashCodeFn(TypeIndex typeIndex)
```

### Parameters

**** (\[TypeIndex]\(/engine/7000.0/script-reference/unity/entities/typeindex)): Component type index

### Returns

| Type                                                                                                     | Description     |
| -------------------------------------------------------------------------------------------------------- | --------------- |
| [FunctionPointer\<GetHashCodeDelegate>](/engine/7000.0/script-reference/unity/burst/functionpointer1.md) | FunctionPointer |
