xamarin-macios/tools/mtouch
Rolf Bjarne Kvinge 14e76c0139
[runtime] Return the exception from wrapper methods for exception marshalling. (#11382)
There's no general way to set a pending managed exception in CoreCLR (the
current plan is to support setting a pending managed exception for the
objc_msgSend family of functions). This means that the way we've implemented
custom wrappers that can handle Objective-C exceptions won't work, because
those wrappers currently tries to set a pending managed exception (which Mono
throws upon returning from the corresponding native wrapper function).

So rewrite this a bit: these custom wrappers now return a GCHandle with the
managed exception as an out parameter, and the calling managed code throws
that exception instead.

This also required adjusting a few API definitions to match how their wrapper
functions are defined.
2021-05-04 08:25:38 +02:00
..
xlf [tools] Fix a typo in the error message for MX2301 that caused a format exception. (#11291) 2021-04-22 20:51:58 +02:00
.gitignore [mtouch/mmp] Use a single SdkVersions.cs in tools/common. (#8318) 2020-04-08 16:19:34 +02:00
Application.mtouch.cs [mtouch] It seems watchOS simulators can automatically choose the right architecture from fat apps. (#11241) 2021-04-21 08:00:02 +02:00
Assembly.mtouch.cs [tools] Move Driver.GetAotArguments to shared code. 2021-01-28 08:09:59 +01:00
AssemblyResolver.cs [mtouch/mmp] Pass the path to mscorlib explicitly to the partial static registrar code instead of relying on resolving it successfully. (#8525) 2020-05-07 08:37:17 +02:00
BitcodeConverter.cs [Localization] mtouch/mmp C# (#7710) 2020-01-31 15:02:52 -05:00
BuildTasks.mtouch.cs [mtouch] Use the correct native compiler/linker flags for catalyst apps 2020-12-03 10:42:26 +01:00
Errors.designer.cs [tools] OS Versions are messy in Mac Catalyst 😡 2020-12-03 10:43:19 +01:00
Errors.resx [tools] Fix a typo in the error message for MX2301 that caused a format exception. (#11291) 2021-04-22 20:51:58 +02:00
Makefile [runtime] Return the exception from wrapper methods for exception marshalling. (#11382) 2021-05-04 08:25:38 +02:00
Stripper.cs Improve our error handling code. (#8591) 2020-05-14 16:45:05 +02:00
Target.mtouch.cs [mtouch] It seems watchOS simulators can automatically choose the right architecture from fat apps. (#11241) 2021-04-21 08:00:02 +02:00
Tuning.mtouch.cs [linker] Obsolete 'LinkerSafeAttribute' in favor of `AssemblyMetadata` (#11229) 2021-04-16 15:06:49 -04:00
monotouch-fixes.c [Runtime] Enable the -Wsign-conversion warnings flag and fix some of the warnings. (#7405) 2019-11-12 15:10:16 -05:00
mtouch Use relative paths in scripts. (#7545) 2019-12-10 12:47:30 +01:00
mtouch.cs [tools] Stop hardcoding the product name for error messages. (#10615) 2021-02-11 20:17:44 +01:00
mtouch.csproj [dotnet] Add support for specifying the VM with the _XamarinRuntime property. (#10881) 2021-03-16 18:32:04 +01:00
packages.config [Localization] mtouch/mmp C# (#7710) 2020-01-31 15:02:52 -05:00
simlauncher.mm [mtouch] Fix typo in simlauncher.mm. (#8455) 2020-04-27 08:34:24 +02:00