Hello,
Welcome to Microsoft Q&A!
It's like an issue related to the .net Native compiler. Sometimes, some NuGet packages like System.Numerics.Vectors are not compiled with .Net Native and caused this issue. You could check the NuGet packages of your project.
By the way, currently, Microsoft Q&A supports the products listed over here: supported topics (more to be added later on).
Questions about Xamarin are not supported yet now. You could ask Xamarin questions in Xamarin official forum.
Thank you.