As one of the prerequisites for supporting NativeAOT, we should solve all the trim warnings in this repo. For details, see: * https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming?pivots=dotnet-8-0#enable-library-trim-warnings As an initial step, we could try enabling `IsAotCompatible` in this repo, this implicitly sets: * IsTrimmable * EnableTrimAnalyzer * EnableAotAnalyzer * EnableSingleFileAnalyzer Then we'd want to address all the warnings and potentially make trimmer warnings build errors? FYI @jonpryor