The TypeMap API expects that there is a single entrypoint assembly from which TypeMapAssemblyTargetAttributes can point to other assemblies to create the entire typemap. This assumption isn't valid on iOS or Android where .NET is called into from native code. See below
|
RuntimeAssembly? startingAssembly = (RuntimeAssembly?)Assembly.GetEntryAssembly(); |
cc. @AaronRobinsonMSFT @simonrozsival
#113362 to link the issues
The TypeMap API expects that there is a single entrypoint assembly from which TypeMapAssemblyTargetAttributes can point to other assemblies to create the entire typemap. This assumption isn't valid on iOS or Android where .NET is called into from native code. See below
runtime/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/TypeMapLazyDictionary.cs
Line 192 in 2c9fdf0
cc. @AaronRobinsonMSFT @simonrozsival
#113362 to link the issues