Special-case arrays of interfaces/generic parameters in IsAssignableFrom (mono/mono...
authorRyan Lucia <rylucia@microsoft.com>
Mon, 22 Jul 2019 13:56:48 +0000 (09:56 -0400)
committerGitHub <noreply@github.com>
Mon, 22 Jul 2019 13:56:48 +0000 (09:56 -0400)
commit3a015e549238c3ae663bd481ae940bebfaec2bbc
tree0151fbf2884b891c2d362260ffd41342388ed00b
parent7be35e915307898167046057d7dddc886e3b4eac
 Special-case arrays of interfaces/generic parameters in IsAssignableFrom (mono/mono#15749)

* Formatting fix

* Special-case arrays of interfaces/generic parameters

* Make more generic, fix typo

* Consider class constraint and add more elucidating comment

* Fix for potential crash

* Add test

* Fix test

Commit migrated from https://github.com/mono/mono/commit/3c2813deb7720c954554b11344915af803f84138
src/mono/mono/metadata/class.c