[runtime] Fix Type.GetTypeCode () for generic enums. (#34670)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 8 Apr 2020 16:05:09 +0000 (12:05 -0400)
committerGitHub <noreply@github.com>
Wed, 8 Apr 2020 16:05:09 +0000 (12:05 -0400)
commitcd31ec6b255f18a5e0a2fc70e743e1888a84c4ab
treea3b664b028b615dbc8ca201fac58a675a51c13ad
parent214e2071b17905c42b76bfd66d0a9034205dd928
[runtime] Fix Type.GetTypeCode () for generic enums. (#34670)

Fixes https://github.com/mono/mono/issues/17735.

<!--
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: vargaz <vargaz@users.noreply.github.com>
src/mono/mono/metadata/icall.c