My brain just melted.

Go spelunking around in NMock. There is some seriously crazy code in there. Dynamic creation of an implmentation of an existing type to support mocking. Good lord.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.