Can you fix up the style? Should be:

```cs
var typelist = new[] {
    typeof(UIElement),
    typeof(FrameworkElement),
    typeof(Dispatcher),
};
```