Creating a .NET CLR profiler using C# and NativeAOT with Silhouette

In this post I look at how to create a simple .NET profiler. But instead of using C++, the profiler uses C# and NativeAOT with the Silhouette library