Merge pull request #2767 from lambdageek/dev/monoerror-mono_lookup_dynamic_token
authormonojenkins <jo.shields+jenkins@xamarin.com>
Tue, 29 Mar 2016 15:15:20 +0000 (16:15 +0100)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Tue, 29 Mar 2016 15:15:20 +0000 (16:15 +0100)
commit4da080e2e8d16fd8bf39facc33a6340ab1fe57d4
tree52ef9bd4eb328ff2f3830e5688551bfb4be11f2e
parenta3e3f1d9cc58596e9ed9a95b6290063dc2b7afca
parent497f16a441b0b3a83d30db74cc136c2e3f2edb47
Merge pull request #2767 from lambdageek/dev/monoerror-mono_lookup_dynamic_token

[runtime] MonoError-ize mono_loookup_dynamic_token{,_class}

Push `MonoError` through `mono_lookup_dynamic_token_class` and `mono_lookup_dynamic_token`

Also simplify the implementations of those functions so that they call `mono_reflection_lookup_dynamic_token` directly, rather than via a function pointer.  The old implementation was a holdover from when the runtime was implemented as separate libraries.