Using NativeAOT to write a .NET GC in C#. The second part builds the simplest possible GC that can run basic .NET applications.
ICorProfilerInfo.
ICorProfilerCallback interface.