This way we don't have to update all these files when moving to .NET 7.
- Part of investigation of https://github.com/xamarin/xamarin-macios/issues/13922