See #130279 (comment)
The safest solution would be to use a pinned local for the object reference (those are valid in IL) and then conv.u the object reference and add data offset to the pointer.
cc @MichalStrehovsky @AaronRobinsonMSFT do you maybe want to use copilot on this?
See #130279 (comment)
The safest solution would be to use a pinned local for the object reference (those are valid in IL) and then
conv.uthe object reference and add data offset to the pointer.cc @MichalStrehovsky @AaronRobinsonMSFT do you maybe want to use copilot on this?