JasonBock / Rocks

A mocking library based on the Compiler APIs (Roslyn + Mocks)
MIT License
263 stars 20 forks source link

Consider Using Interceptors for Non-Virtual Members #322

Open JasonBock opened 4 months ago

JasonBock commented 4 months ago

Describe the solution you'd like Right off the bat, this is something I may never do. I've written up a bunch of notes on this already (https://github.com/JasonBock/Rocks/blob/main/docs/notes/Using%20Interceptors%20in%20Rocks%20for%20(Probably)%20All%20The%20Wrong%20Reasons.md), and, overall, the use case for this is minimal at best. That said, there might be a reason to do this if it becomes a supported feature.