Closed
Description
records have a slim syntax and provide many features, but they also generate a lot of code. And much of that code can't be trimmed. A record can bloat app publish size.
See #45604 (comment) for an example.
- Audit published aspnetcore projects for record usage. records in test projects is fine.
- See if there is an analyzer that we can enable to warn about record use, and enable.