[runtime] Fail classes that have a field with a bad underlying type
authorAleksey Kliger <aleksey@xamarin.com>
Mon, 1 May 2017 14:55:41 +0000 (10:55 -0400)
committerAleksey Kliger (λgeek) <akliger@gmail.com>
Mon, 8 May 2017 14:49:12 +0000 (10:49 -0400)
commitc21ffa3695045322136c50c7918633958c1113b8
tree8d4263a50c871bc8933eebdf7fba8a4369808e30
parent4bb7e0805e0e3a103d3acfd63da35333fb7b1f6c
[runtime] Fail classes that have a field with a bad underlying type

If a class T has a field e of enum type E, and E is either
incomplete (EnumBuilder that hasn't had CreateType called) or a broken class,
then mark T as failed.
mono/metadata/class.c
mono/metadata/sre.c