[build] make TrimMode=full
function like NativeAOT#22282
Merged
jonathanpeppers merged 4 commits intodotnet:net9.0from jonathanpeppers:TrimModeLinkMay 10, 2024
+51-25
TrimMode=full
function like NativeAOT#22282