You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Disallow mixing ApplyChanges and debugger apply changes
* Don't allow debugger thread to start if ApplyChanges has been called
* Don't allow ApplyChanges managed API call if debugger is attached
* MONO_COMPONENT_API mono_error_set_not_supported
if (!assembly_update_supported (image_base->assembly)) {
1355
1355
mono_error_set_invalid_operation (error, "The assembly can not be edited or changed.");
1356
1356
return;
1357
1357
}
1358
1358
1359
+
staticintfirst_origin=-1;
1360
+
1361
+
if (first_origin<0) {
1362
+
first_origin=origin;
1363
+
}
1364
+
1365
+
if (first_origin!=origin) {
1366
+
mono_error_set_not_supported (error, "Applying deltas through the debugger and System.Reflection.Metadata.MetadataUpdater.ApplyUpdate simultaneously is not supported");
1367
+
return;
1368
+
}
1369
+
1359
1370
constchar*basename=image_base->filename;
1360
1371
1361
1372
if (mono_trace_is_traced (G_LOG_LEVEL_DEBUG, MONO_TRACE_METADATA_UPDATE)) {
0 commit comments