> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.1/api/csharp/yarn.unity/yarn.unity.assemblyextensions/yarn.unity.assemblyextensions.getloadabletypes.md).

# GetLoadableTypes(Assembly)

Method in [AssemblyExtensions](/2.1/api/csharp/yarn.unity/yarn.unity.assemblyextensions.md)

## Summary

Assembly.GetTypes() can throw in some cases. This extension will catch that exception and return only the types which were successfully loaded from the assembly.

```csharp
public static IEnumerable<System.Type> GetLoadableTypes(this Assembly @this)
```

## Parameters

| Name             | Description |
| ---------------- | ----------- |
| `Assembly` @this |             |
