Ensure generic parameter constraint type is included when building image (#34346)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 1 Apr 2020 20:01:28 +0000 (16:01 -0400)
committerGitHub <noreply@github.com>
Wed, 1 Apr 2020 20:01:28 +0000 (16:01 -0400)
commitbf4b572e88ec5130473a50b8f3bc1873fc2e5a65
treed1d72003f58bb302cea67046116f13044b04665e
parent15abeaa93110f0d06b741658ba47e75d7584dd9e
Ensure generic parameter constraint type is included when building image (#34346)

sets.

This fixes: https://issuetracker.unity3d.com/issues/editor-crash-when-entering-and-exiting-playmode-for-a-few-times-with-microsoft-maps-sdk

@joncham and I were working on this we hit the two asserts that I've removed. We were wondering if they were still needed?

<!--
Thank you for your Pull Request!

If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.

Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
-->

Co-authored-by: UnityAlex <UnityAlex@users.noreply.github.com>
src/mono/mono/metadata/metadata.c