## Bad error reporting in loader

_Submitted by Rodrigo Kumpera \[MSFT\] on 2016-06-07 23:01 UTC_

Both mono\_class\_from\_typeref\_checked and mono\_class\_get\_checked sometimes fail without a decent message.

* * *

_Xamarin Bugzilla comment 1 by Rodrigo Kumpera [MSFT] on 2016-06-07 23:02 UTC_

Marek,

Do you have binaries that show this issue?

* * *

_Xamarin Bugzilla comment 2 by Marek Safar [MSFT] on 2016-06-08 06:14 UTC_

I don't have suitable repro. It seems to happen only with mono called within make/xbuild but not from terminal

* * *

_Xamarin Bugzilla comment 3 by Rodrigo Kumpera [MSFT] on 2017-08-18 22:30 UTC_

CC'ing Aleksey as the generic errors are bugs in the type loading code.

* * *

<br />

_Reference: <https://bugzilla.xamarin.com/show_bug.cgi?id=41578>_