> 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/api/csharp/yarn.compiler/yarn.compiler.compilationresult/yarn.compiler.compilationresult.userdefinedtypes.md).

# UserDefinedTypes

Property in [CompilationResult](/api/csharp/yarn.compiler/yarn.compiler.compilationresult.md)

## Summary

Gets a collection of any types that were defined by the user in the input (for example, user-defined enum types.)

```csharp
public IReadOnlyCollection<IType> UserDefinedTypes { get; internal set; }
```
