The goal of this would be to force the usage of global:: directives and disable the possibility to add using directives as these are bad practices for generated source files. Not sure yet about how to enforce the usage of global:: directives though
Could allow users to define using within the namespace declaration (afterward), this would require to make a different logic for #2 since the all contained namespaces would have to be trimmed
The target type containing types are currently written simply like this writer.WriteLine($"{type.Accessibility ?? publicKeyword} {type.Type} {type.Name}");, the goal was to allow source generator users to handle containing partial types (when logic needs to be generated for a nested class) but the scope of this library is also general-purpose code generation therefore they should be handled like target types
Resources could be excluded via their fully qualified type name, the reason this wasn't implemented in the 0.0.1 is because some types are generic and it'd require to either :
rename every file with their fully qualified type name (and therefore make sure that in the future every new type introduced follows this logic)
or parse the type declaration from the source code, which would be more convenient but won't be possible until #43 have been resolved
xml documentation may contain colons which are checked for base type inheritance, a quick fix would be to check the last line only of the type declaration