Imported Upstream version 5.4.0.167

Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-08-21 15:34:15 +00:00
parent e49d6f06c0
commit 536cd135cc
12856 changed files with 563812 additions and 223249 deletions

View File

@ -873,7 +873,7 @@ mono_set_break_policy (MonoBreakPolicyFunc policy_callback)
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>policy_callback</i></td><td> the new callback function</td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p /> Allow embedders to decide wherther to actually obey breakpoint instructions (both break IL instructions and <code>Debugger.Break</code> method calls), for example to not allow an app to be aborted by a perfectly valid IL opcode when executing untrusted or semi-trusted code. <p /> <i>policy_callback</i> will be called every time a break point instruction needs to be inserted with the method argument being the method that calls <code>Debugger.Break</code> or has the IL <code>break</code> instruction. The callback should return <code>MONO_BREAK_POLICY_NEVER</code> if it wants the breakpoint to not be effective in the given method. <code>MONO_BREAK_POLICY_ALWAYS</code> is the default.</div>
<div> <p /> Allow embedders to decide whether to actually obey breakpoint instructions (both break IL instructions and <code>Debugger.Break</code> method calls), for example to not allow an app to be aborted by a perfectly valid IL opcode when executing untrusted or semi-trusted code. <p /> <i>policy_callback</i> will be called every time a break point instruction needs to be inserted with the method argument being the method that calls <code>Debugger.Break</code> or has the IL <code>break</code> instruction. The callback should return <code>MONO_BREAK_POLICY_NEVER</code> if it wants the breakpoint to not be effective in the given method. <code>MONO_BREAK_POLICY_ALWAYS</code> is the default.</div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->

View File

@ -242,13 +242,13 @@ mono_raise_exception (MonoException *ex)
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">void
mono_unhandled_exception (MonoObject *exc)
mono_unhandled_exception_checked (MonoObjectHandle exc, MonoError *error)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>exc</i></td><td> exception thrown</td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> This is a VM internal routine. <p /> We call this function when we detect an unhandled exception in the default domain. <p /> It invokes the <code>UnhandledException</code> event in <code>AppDomain</code> or prints a warning to the console </div>
<div> <p /> This is a VM internal routine. <p /> We call this function when we detect an unhandled exception in the default domain. <p /> It invokes the * UnhandledException event in AppDomain or prints a warning to the console </div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->

View File

@ -286,7 +286,7 @@ mono_unicode_from_external (const gchar *in, gsize *bytes)
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">void*
mono_marshal_alloc (gulong size, MonoError *error)
mono_marshal_alloc (gsize size, MonoError *error)
</div>
<p />

View File

@ -281,7 +281,7 @@ mono_reflection_get_custom_attrs_blob (MonoReflectionAssembly *assembly, MonoObj
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">MonoArray*
mono_reflection_get_custom_attrs_by_type (MonoObject *obj, MonoClass *attr_klass, MonoError *error)
mono_reflection_get_custom_attrs_by_type (MonoObject *obj_raw, MonoClass *attr_klass, MonoError *error)
</div>
<p />
@ -306,7 +306,7 @@ mono_reflection_get_custom_attrs_by_type (MonoObject *obj, MonoClass *attr_klass
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">MonoArray*
mono_reflection_get_custom_attrs_data (MonoObject *obj)
mono_reflection_get_custom_attrs_data (MonoObject *obj_raw)
</div>
<p />
@ -330,7 +330,7 @@ mono_reflection_get_custom_attrs_data (MonoObject *obj)
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">MonoArray*
mono_reflection_get_custom_attrs (MonoObject *obj)
mono_reflection_get_custom_attrs (MonoObject *obj_raw)
</div>
<p />
@ -457,7 +457,7 @@ mono_reflection_type_from_name (char *name, MonoImage *image)
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">MonoCustomAttrInfo*
mono_reflection_get_custom_attrs_info (MonoObject *obj)
mono_reflection_get_custom_attrs_info (MonoObject *obj_raw)
</div>
<p />