### Describe the bug trim removes the code section used in WinUI to modify DataTemplate ``` protected override DataTemplate? SelectTemplateCore(object item, DependencyObject container) { // some code } ``` ### Steps to reproduce the bug 1. Enable trim and build project (in the attached repository trim is already enabled in the release and disabled in debug) [code](https://github.com/M-Muluc/DemoApp) ### Expected behavior Trim function does not delete used code sections. ### Screenshots #### Debug build: https://github.com/user-attachments/assets/56fb654d-97e8-4e21-917f-75047bb617c0 #### Release build: https://github.com/user-attachments/assets/a4afdf96-e33d-436a-8c07-2b3c13b15abe ### NuGet package version None ### Windows version Windows 11 (24H2): Build 26100 ### Additional context _No response_