Review the preserve lists for illink/net5. We should also try to use the new illink related [attributes](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis?view=net-5.0) where possible.