Operation could destabilize the runtime. (Runtime.CompilerServices.Unsafe) #142
andrearanha
started this conversation in
General
Replies: 1 comment
-
Indeed many hosting environments will not allow running methods of System.Runtime.CompilerServices.Unsafe. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
This API client looks great and I really appreciated building my solution with that!
After successfull tests in my DEV machine, I got the following error in PROD environment.
Such error occurrs whenever any client class of the API is instantiated.
Tip for product team: The only time I got this error, I solved by replacing the JSON engine, and then avoiding unsafe code.
❔ Did somebody solve this issue? Or should we wait a fix in the lib?
Totally comprehensible host companies disallow unsafe code in their shared servers.
Thanks and regards.
Beta Was this translation helpful? Give feedback.
All reactions