Part 3 of the series about using NativeAOT to write a .NET profiler in C#, learning many things about native interop in the process. In this part, we write a source generator to automatically generate the boilerplate code needed to implement the ICorProfilerCallback interface.

Continue reading

Author's picture

Kevin Gosse

Kevin Gosse has been using Microsoft .NET technologies for 20 years, across client, server, and mobile applications. Passionate about debugging and performance. He is Microsoft MVP and is currently employed at JetBrains, where he works on improving the performance of ReSharper. He is co-author of the book Pro .NET Memory Management 2nd edition (Apress).