Open
Description
openedon Nov 12, 2024
We have the following trimming suppression:
This is an incorrect way to address trimming warnings. The intention of the warnings is so developers now upfront what does and what doesn't work when the build and publish a trimmed or native AOT'd app. Suppressing warnings like this minimizes the principle of "if you don't get warnings during publish, your app is guaranteed to work the same as before you published".
We should remove this suppression and either make the underlying code trim-compatible, or we should annotate this method as RequiresUnreferencedCode
.
Activity