@rubynova ^ you may appreciate this, modern .NET 7 on consoles using just NativeAOT
@rubynova ^ you may appreciate this, modern .NET 7 on consoles using just NativeAOT
&Unsafe.As<int, int> trickref T* AsPointerRef<T>(ref T thing) => ref ((delegate*<ref T, ref T*>)&Unsafe.As<int, int>)(ref thing);