Ref: https://github.com/xamarin/xamarin-macios/pull/17374#discussion_r1235730787 We might want to pass the following options to ILLinker: https://github.com/dotnet/runtime/blob/0b263953a25136283d3ac45a174b82e49a562aa1/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets#L271-L273