MonoClass getters mop-up PR (#7806)
commitfebd5ac53580c7e3667739525aefa17221603466
authorAleksey Kliger (λgeek) <akliger@gmail.com>
Sat, 24 Mar 2018 23:03:43 +0000 (24 19:03 -0400)
committerLudovic Henry <luhenry@microsoft.com>
Sat, 24 Mar 2018 23:03:43 +0000 (24 19:03 -0400)
tree124f8d036a07002bc6c3e94ad5f6b2872ceff471
parenta5099ca2a44b2502c954090c83f4e95831a1c2a9
MonoClass getters mop-up PR (#7806)

* [sre-save] Remove type_token assignment in mono_image_fill_export_table

In 9725d50c8726b9f34e897737176c64a94865ba0a we added the `g_error`, that should
fire if the MonoClass:type_token and the TypeBuilder token ever disagree. As a
result, this assignment is strictly redundant.

* [pedump] Use MonoClass getters

* [monograph] Use MonoClass getters

* [mini] Use MonoClass getters in a few more places

Catch up with recent commits.
mono/mini/interp/transform.c
mono/mini/mini-runtime.c
mono/mini/mini.c
tools/monograph/monograph.c
tools/pedump/pedump.c