# HasReferencesManaged(Type, out bool, out bool, out bool, Dictionary<Type, EntityBlobRefResult>, int)

> Checks if a type has any Entity, BlobAssetReferenceData or UnityObjectRef<T> references.

## Definition

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

## HasReferencesManaged(Type, bool, bool, bool, Dictionary\<Type, EntityBlobRefResult>, int)

```csharp
public static void HasReferencesManaged(Type type, out bool hasEntityReferences, out bool hasBlobReferences, out bool hasUnityObjectReferences, Dictionary<Type, EntityRemapUtility.EntityBlobRefResult> cache = null, int maxDepth = 128)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The type to inspect.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Specifies if the type has any [Entity](/engine/7000.0/script-reference/unity/entities/entity.md) references.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Specifies if the type has any BlobAssetReferenceData references.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Specifies if the type has any [UnityObjectRef\<T>](/engine/7000.0/script-reference/unity/entities/unityobjectref1.md) references.**** (\[Dictionary\<Type, EntityBlobRefResult>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)): Map of type to [EntityRemapUtility.EntityBlobRefResult](/engine/7000.0/script-reference/unity/entities/entityremaputility/entityblobrefresult.md) used to accelerate the type recursion.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The maximum depth for the recursion.
