# UserDefinedTypes

Property in [CompilationResult](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.compiler/yarn.compiler.compilationresult)

## 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; }
```
