Common Language Runtime detected an invalid program
After receiving the KB4495620 Windows 10 update, I now get a "Common Language Runtime detected an invalid program" when a specific functionality of my program is executed.
Edit: the code includes ref returns.
This only occurs if I have "Automated Error Reporting" enabled for my project; disabling automated error reporting solves the issue. Removing the ref returns also solves the issue.
I am using SmartAssembly 220.127.116.110 but I've reproduced the exact crash on the latest 18.104.22.1686 version as well.
Any help would be appreciated.
0 · Share on Twitter