public static bool IsMethodOverloaded(IMethodMessage msg)
{
const BindingFlags bfinst = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance;
- MonoType type = (MonoType) msg.MethodBase.DeclaringType;
+ RuntimeType type = (RuntimeType) msg.MethodBase.DeclaringType;
return type.GetMethodsByName (msg.MethodName, bfinst, false, type).Length > 1;
}
}
catch (Exception e) {
if (e is ThreadAbortException) {
+#if MONO_FEATURE_THREAD_ABORT
Thread.ResetAbort ();
+#endif
retry = 5;
ex = e;
}
catch (Exception tex)
{
byte[] data = SerializeExceptionData (tex);
+#if MONO_FEATURE_THREAD_ABORT
Thread.ResetAbort ();
+#endif
return data;
}
}