Implementing an interceptor with a source generator: Creating a source generator – Part 11 (Andrew Lock) andrewlock.net
In this post I describe how you can use the interceptor support available in the .NET 8 and .NET 9 SDK to replace method calls at build time. The APIs have evolved a little since they were first introduced in .NET 8, so in this post I show how to use the new APIs with a source generator.
Report Story
Leave Your Comment