You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that this might be caused by the constrained opcode not being emitted. It is, however, weird that this is only an issue on .NET 6 and upwards.
I think an approach would be to write the code by hand and see how it gets translated into IL.
See test
Can_shim_constrained_virtual_method_of_any_instance
which has been disabled on .NET 6 and upwards. The test code is currently only in branch https://github.com/Miista/pose/tree/31-add-support-for-shimming-operatorsThe text was updated successfully, but these errors were encountered: