Refers to a live ref struct for the duration of an intercepted call.
A class cannot store a ref struct, so this keeps the address of that stack slot.
The generic StructRef<T> is added when compile-time stunts and unsafe blocks are enabled, the language version (C# 13) and the runtime (.NET 9) support allows ref struct, and the compilation does not already define it.
public class StructRef
kind:method, kind:property, kind:ctor. Press Esc to clear.StructRef(Type, Void*)Refers to the value at ptr.GetPtr()Returns the address of the live ref struct.GetPtr(Type)Returns the address when checkType is the type this ref was created for.Invalidate(Void*)Drops the address. Generated code calls this before the intercepted method returns.