Do you know of a tool that generates wrapper class based on another class?
EDIT: By wrapper class I mean a class which wraps all exposed(public, protected) properties methods events so that you can put any logic in the middle. My concrete purpose is use it to verify the behavior of the wrapped class.
You could use T4 templating and write your own logic…
http://msdn.microsoft.com/en-us/library/bb126445.aspx
http://www.hanselman.com/blog/T4TextTemplateTransformationToolkitCodeGenerationBestKeptVisualStudioSecret.aspx