Davo,
Well, you could create your own custom tool which will do this for you.
For more details on how to do this, check out:
http://www.drewnoakes.com/snippets/WritingACustomCodeGeneratorToolForVisualStudio/
From this, it is easy to figure out how to access the functionality of
the original generator. From there, you can have the original generate your
code, then use the classes from CodeDom to parse the code apart. Once you
have that, you just set the access modifier to public, and have CodeDom
re-generate the text needed.
Hope this helps.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
>> Why not just create a wrapper class for it then that is public?
>
[quoted text clipped - 10 lines]
>
> Dave