unresolvable type issue

I've added an issue to highlight when you have an unresolvable type and to add in the using declaration at the top of the file if any possible types can be found.

I'm a bit worried that the way I currently find the possible namespaces if by iterating over all the types - is there a better way of doing it?