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
SeeminglyScience
changed the title
EmbeddedAttribute value type mismatch
Declaring a Span<> local throws EmbeddedAttribute value type mismatch on InvokeOct 17, 2020
Turns out it's any generic instantiation. There doesn't appear to be anything wrong with the signature that I'm encoding, so I am leaning towards it being a bug with DynamicILInfo. I'll need to do more research and possibly open an issue on dotnet/runtime.
Until then, I've worked around the issue by using the unsupported element type ELEMENT_TYPE_INTERNAL to embed the type handle directly into the signature.
SeeminglyScience
changed the title
Declaring a Span<> local throws EmbeddedAttribute value type mismatch on Invoke
Stop using ELEMENT_TYPE_INTERNAL for generic instantiations
Oct 17, 2020
Get-Error
The text was updated successfully, but these errors were encountered: