Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
2.15.3
Web app
Not Applicable
Web API
Not Applicable
Token cache serialization
Not Applicable
Description
We have attributes to help trimmability on .NET 6 and 7
but on .NET we also have the code generators for the bind and configure, so when they apply we don't need to exclude the corresponding methods from trimmability.
Reproduction steps
See jmprieur/betterTrimNet8 branch
Error message
No response
Id Web logs
No response
Relevant code snippets
See jmprieur/betterTrimNet8 branch
Regression
No response
Expected behavior
Only have the attributes when not using the code generators