Hello there,
I stumbled upon a discrepancy between regular .Net runtimes and CoreRT when it comes to Marshel.SizeOf().
Sorry if I don't have a more precise isolated case than this, but here is a practical example from trying to get one of our project to run properly on CoreRT.
This type: https://github.com/rlabrecque/Steamworks.NET/blob/ee014372d1c1077c6fbbc2d7cb88e38fe4a56453/Plugins/Steamworks.NET/autogen/SteamCallbacks.cs#L1768
is expected to have a Marshel.SizeOf() of 616, but CoreRT returns 612.
Not very workable of an example, I concede, but I hope it helps nonetheless.