Xamarin-macios should consider removing the _AggressiveAttributeTrimming setting, see dotnet/runtime#88805. This setting is undocumented and has problematic behavior - it can't be statically validated with trim warnings and can introduce correctness problems.
@vitek-karas @MichalStrehovsky