Make the generated class internal/private?

Jul 19, 2013 at 7:32 PM
Edited Jul 22, 2013 at 2:20 PM
This is a really useful tool. Thanks for creating it!
Is there any way I can generate a private class? I don't want the generated class appearing in my assembly's public API. (Having looked at the source it appears a code change would be needed)

I found that setting TypeAttributes = TypeAttributes.NotPublic resulted in the generated class being 'internal.
Messing about with the value of the Attributes property had no effect.