(no title)
kant2002 | 9 months ago
Just bringing HttpClient(without SSL support) add 6Mb of generated code.
Minimal API gets you additional 21 Mb. And we not even talk about desktop applications here.
Reflection is very very core of .Net ecosystem and you cannot reliably trim with how we use it currently
neonsunset|9 months ago
But otherwise yes, reflection is used heavily even when completely unnecessary.