Fail nice if the current profiler doesn't support ICustomMarshaler.
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 6 Jan 2011 14:51:15 +0000 (15:51 +0100)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 6 Jan 2011 14:52:45 +0000 (15:52 +0100)
commitabb1dbc5e6b28945e01c2a8297c74cfae07f1c29
treebc1fe59e1c6e5a4e28707f604d10c890e50c5ecc
parent4b446ed05ab2cf4e2634c3d1799911aa7856b4f4
Fail nice if the current profiler doesn't support ICustomMarshaler.

* marshal.c (emit_marshal_custom): If the lookup for ICustomMarshaler
fails, emit code to raise an exception instead of asserting.

Fixes #560334
mono/metadata/marshal.c