Fix function statement names not being disambiguated in all necessary scenarios.
Wrap exceptions in DeclareType so that it's clear what type caused the failure.
Attempt to handle the super busted assembly references that appear in Portable Class Libraries (issue #165) (see also: Cecil issue #123)
Attempt to handle an obscure form of generic parameter that shows up when the compiler generates a class for you (enumerator function, delegate) that has its own generic parameters and those parameters somehow leak out into the outer class. I'm not really sure how this happens, but it shows up in Autofac.dll (issue #165)